forked from musq/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (35 loc) · 861 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
42
43
# For more information about the configurations used
# in this file, please see the Travis CI documentation.
#
# https://docs.travis-ci.com
before_install:
- |
# Install `ShellCheck`.
#
# ShellCheck is required for testing and
# is included with Travis's Ubuntu builds,
# so it only needs to be installed for the
# macOS ones.
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
brew install shellcheck
fi
branches:
only:
- master
- stage
install:
- bash -c "$(wget -qO - https://raw.githubusercontent.com/musq/dotfiles-system/master/src/os/setup.sh) -y"
- source /etc/profile
- ./src/os/setup.sh -y
matrix:
include:
- os: linux
dist: trusty
- os: linux
dist: bionic
notifications:
email:
on_failure: always
on_success: never
script:
- ./tests/shellcheck.sh