.travis.yml in zabbixapi-2.4.9 vs .travis.yml in zabbixapi-3.0.0
- old
+ new
@@ -15,10 +15,14 @@
rvm:
- 1.9.3
- 2.0
- 2.1
- 2.2
+ - 2.3
+gemfile:
+ - Gemfile
+ - json-1.x.Gemfile
dist: trusty
sudo: required
before_script:
- sudo sed -i "s,;date.timezone =,date.timezone = 'US/Eastern'," /etc/php5/apache2/php.ini
@@ -27,5 +31,11 @@
- psql -c 'grant all privileges on database zabbix to zabbix;' -U postgres
- zcat /usr/share/doc/zabbix-server-pgsql/create.sql.gz | LC_ALL=C psql -U zabbix
- echo "$(curl -fsSL https://gist.githubusercontent.com/evtuhovich/9544441/raw/d661863063b76cc8e2599bc44d8595b1f86ece38/zabbix)" | sudo tee /etc/zabbix/web/zabbix.conf.php
- sudo service apache2 restart
script: "ZABBIX_HOST_URL=http://localhost/zabbix/api_jsonrpc.php bundle exec rspec spec/*"
+
+matrix:
+ exclude:
+ # json 2.x requires ruby 2.x
+ - rvm: 1.9.3
+ gemfile: json-1.x.Gemfile