-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (34 loc) · 830 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
language: shell
sudo: required
addons:
apt:
packages:
- shellcheck
before_install:
- mkdir -p "$HOME/bin"
- |
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
dlurl='https://anonscm.debian.org/cgit/collab-maint/devscripts.git/plain/scripts/checkbashisms.pl'
sudo curl "$dlurl" > "$HOME/checkbashisms"
chmod u+x "$HOME/checkbashisms"
mv "$HOME/checkbashisms" "$HOME/bin"
fi
- |
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew update
brew install shellcheck checkbashisms
fi
script:
- export PATH="$PATH:~/bin"
- ./lint
- DEBUG=1 ./test
- ./setup -d "$HOME/bin" -p "$HOME/.goat"
- . ~/.bashrc
- DEBUG=1 TEST_PATH="$PWD/.goat" ./test
os:
- linux
- osx
matrix:
fast_finish: true
notifications:
email: false