Fix travis for v2.x
This commit is contained in:
		
							parent
							
								
									53e665bbb6
								
							
						
					
					
						commit
						9235c48c88
					
				@ -1,8 +1,11 @@
 | 
				
			|||||||
 | 
					sudo: required
 | 
				
			||||||
language: ruby
 | 
					language: ruby
 | 
				
			||||||
cache: bundler
 | 
					cache: bundler
 | 
				
			||||||
rvm:
 | 
					rvm:
 | 
				
			||||||
  - jruby
 | 
					  - jruby
 | 
				
			||||||
before_script:
 | 
					before_script:
 | 
				
			||||||
  - wget http://search.maven.org/remotecontent?filepath=org/apache/derby/derby/10.12.1.1/derby-10.12.1.1.jar -O /tmp/derby.jar
 | 
					  - bundle exec rake vendor
 | 
				
			||||||
  - export JDBC_DERBY_JAR=/tmp/derby.jar
 | 
					  - bundle exec rake install_jars
 | 
				
			||||||
 | 
					  - ./scripts/travis-before_script.sh
 | 
				
			||||||
 | 
					  - source ./scripts/travis-variables.sh
 | 
				
			||||||
script: bundle exec rspec
 | 
					script: bundle exec rspec
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										8
									
								
								scripts/travis-before_script.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										8
									
								
								scripts/travis-before_script.sh
									
									
									
									
									
										Executable file
									
								
							@ -0,0 +1,8 @@
 | 
				
			|||||||
 | 
					#!/bin/bash
 | 
				
			||||||
 | 
					wget http://search.maven.org/remotecontent?filepath=org/apache/derby/derby/10.12.1.1/derby-10.12.1.1.jar -O /tmp/derby.jar
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					sudo apt-get install mysql-server -qq -y
 | 
				
			||||||
 | 
					echo "create database logstash_output_jdbc_test;" | mysql -u root
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					wget http://search.maven.org/remotecontent?filepath=mysql/mysql-connector-java/5.1.38/mysql-connector-java-5.1.38.jar -O /tmp/mysql.jar
 | 
				
			||||||
 | 
					wget http://search.maven.org/remotecontent?filepath=org/xerial/sqlite-jdbc/3.8.11.2/sqlite-jdbc-3.8.11.2.jar -O /tmp/sqlite.jar
 | 
				
			||||||
							
								
								
									
										3
									
								
								scripts/travis-variables.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								scripts/travis-variables.sh
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,3 @@
 | 
				
			|||||||
 | 
					export JDBC_DERBY_JAR=/tmp/derby.jar
 | 
				
			||||||
 | 
					export JDBC_MYSQL_JAR=/tmp/mysql.jar
 | 
				
			||||||
 | 
					export JDBC_SQLITE_JAR=/tmp/sqlite.jar
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user