logstash-output-jdbc/.travis.yml

15 lines
726 B
YAML
Raw Normal View History

2016-04-12 10:16:37 +00:00
language: ruby
cache: bundler
rvm:
- jruby
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
- export JDBC_DERBY_JAR=/tmp/derby.jar
2016-05-03 14:28:01 +00:00
- 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
- export JDBC_MYSQL_JAR=/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
- export JDBC_SQLITE_JAR=/tmp/sqlite.jar
2016-04-12 10:16:37 +00:00
script: bundle exec rspec