Hack/.travis.yml

53 lines
1.2 KiB
YAML

sudo: true
language: generic
group: deprecated-2017Q3
matrix:
include:
- os: linux
sudo: required
env:
- TARGET="lint"
before_script:
- pip install ufolint
- sudo apt-get -qq update
- sudo apt-get install -y shellcheck
script:
- make -j $TARGET
- os: linux
sudo: required
env:
- TARGET="build-with-dependencies"
before_script:
- pip install ufolint
- sudo apt-get -qq update
- sudo apt-get install -y shellcheck
script:
- make -j $TARGET
- os: osx
env:
- TARGET="lint"
before_install:
- brew update
- brew install python3
- virtualenv env -p python3
- source env/bin/activate
before_script:
- pip install ufolint
- brew install shellcheck
script:
- make -j $TARGET
- os: osx
env:
- TARGET="build-with-dependencies"
before_install:
- brew update
- brew install python3
- virtualenv env -p python3
- source env/bin/activate
script:
- make -j $TARGET
notifications:
email: false