mirror of
https://github.com/kvz/bash3boilerplate.git
synced 2024-12-24 08:36:37 +00:00
28 lines
961 B
YAML
28 lines
961 B
YAML
language: generic
|
|
matrix:
|
|
include:
|
|
- os: linux
|
|
sudo: false
|
|
- os: osx
|
|
env:
|
|
global:
|
|
- secure: "LBDI3qOC+d2kmPSS8W6L9UF7HFiu1JC4HwK4j0sjGBh+gjRMpCRxFX7p51pbHd480ItDucN/0CMKy+e0umIRR/xrZSbuQqxby68eoT1tQ5nG9gpDTTEgu1n7Z3vPl9aEitMPlP1ovqRRSViBsYU3E5DRb7Vw2lDpCOj/lqAZT0Y="
|
|
install:
|
|
# Install acceptance test dependencies for OSX
|
|
- 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
|
|
# Show versions used
|
|
- bash --version
|
|
- 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/_bin/deploy.sh
|
|
on:
|
|
branch: master
|
|
condition: $TRAVIS_OS_NAME = linux
|