2016-02-16 22:08:27 +00:00
|
|
|
language: generic
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
sudo: false
|
|
|
|
- os: osx
|
2016-06-21 07:40:25 +00:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- secure: "LBDI3qOC+d2kmPSS8W6L9UF7HFiu1JC4HwK4j0sjGBh+gjRMpCRxFX7p51pbHd480ItDucN/0CMKy+e0umIRR/xrZSbuQqxby68eoT1tQ5nG9gpDTTEgu1n7Z3vPl9aEitMPlP1ovqRRSViBsYU3E5DRb7Vw2lDpCOj/lqAZT0Y="
|
2016-02-16 22:08:27 +00:00
|
|
|
install:
|
2016-02-17 07:44:32 +00:00
|
|
|
# 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
|
2016-02-17 07:44:32 +00:00
|
|
|
script: test/acceptance.sh
|
2016-06-21 07:40:25 +00:00
|
|
|
# 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/_bin/deploy.sh
|
|
|
|
on:
|
|
|
|
branch: master
|
2016-06-21 08:14:19 +00:00
|
|
|
condition: $TRAVIS_OS_NAME = linux
|