.travis.yml in textbringer-0.1.7 vs .travis.yml in textbringer-0.1.8
- old
+ new
@@ -1,16 +1,33 @@
sudo: false
+os:
+ - linux
+ - osx
language: ruby
rvm:
-- 2.3.3
-- 2.4.0
+ - 2.3.3
+ - 2.4.0
+ - ruby-head
+matrix:
+ allow_failures:
+ - os: osx
+ - rvm: ruby-head
+ fast_finish: true
cache: bundler
script:
-- xvfb-run bundle exec rake test
-- bundle exec bundle-audit check --update
+ - if [ "$TRAVIS_OS_NAME" == "linux" ]; then
+ xvfb-run bundle exec rake test;
+ else
+ bundle exec rake test;
+ fi
+ - bundle exec bundle-audit check --update
env:
global:
UPLOAD_TO_CODECOV: 1
notifications:
email:
on_success: never
on_failure: always
+addons:
+ apt:
+ packages:
+ - xclip