bash3boilerplate/.travis.yml

28 lines
965 B
YAML
Raw Normal View History

2016-02-16 22:08:27 +00:00
language: generic
matrix:
include:
- os: linux
sudo: false
- os: osx
env:
global:
- secure: "LBDI3qOC+d2kmPSS8W6L9UF7HFiu1JC4HwK4j0sjGBh+gjRMpCRxFX7p51pbHd480ItDucN/0CMKy+e0umIRR/xrZSbuQqxby68eoT1tQ5nG9gpDTTEgu1n7Z3vPl9aEitMPlP1ovqRRSViBsYU3E5DRb7Vw2lDpCOj/lqAZT0Y="
2016-02-16 22:08:27 +00:00
install:
# Install acceptance test dependencies for OSX
2016-02-16 22:08:27 +00:00
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then which gsed || brew install gnu-sed; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then which gtimeout || brew install coreutils; fi
2016-02-17 07:41:35 +00:00
# Show versions used
- bash --version
2016-02-17 08:35:25 +00:00
- awk --version
script: test/acceptance.sh
# Travis docs: Note that pull request builds skip deployment step altogether.
# https://docs.travis-ci.com/user/deployment/#Conditional-Releases-with-on
deploy:
skip_cleanup: true
provider: script
script: website/_scripts/deploy.sh
on:
branch: master
2016-06-21 08:14:19 +00:00
condition: $TRAVIS_OS_NAME = linux