logstash-output-jdbc/.travis.yml
Karl Southern 707c005979 Tests.
2016-05-03 15:28:01 +01:00

15 lines
726 B
YAML

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
- 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
script: bundle exec rspec