2
0
mirror of https://github.com/alexanderepstein/Bash-Snippets synced 2018-11-08 02:59:35 +01:00
Bash-Snippets/.travis.yml
Alex Epstein f26fa4c327 Allowing osx failures for CI
Running into ruby version error, so the osx tests never even get to run, thiss will stay this way until I can fix this issue
2017-10-14 04:05:21 -04:00

27 lines
927 B
YAML

language: bash
matrix:
include:
- os: linux
dist: trusty
sudo: required
- os: osx
allow_failures:
- os: osx
before_install:
- sudo ./install.sh all
install:
- if [ $TRAVIS_OS_NAME = linux ]; then sudo add-apt-repository ppa:duggan/bats --yes; fi
- if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get update; fi
- if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get install -qq bats; else brew install bats; fi
- if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get install -qq openssl; else brew install openssl; fi
- if [ $TRAVIS_OS_NAME = linux ]; then cpanm Sparrow --sudo --notest -q; fi
- if [ $TRAVIS_OS_NAME = linux ]; then sparrow index update; fi
- if [ $TRAVIS_OS_NAME = linux ]; then sparrow plg install bash-snippets-interactive-test; fi
script:
- if [ $TRAVIS_OS_NAME = linux ]; then sparrow plg run bash-snippets-interactive-test --param dir=$PWD; fi
- bats tests