-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy path.travis.yml
More file actions
26 lines (22 loc) · 775 Bytes
/
Copy path.travis.yml
File metadata and controls
26 lines (22 loc) · 775 Bytes
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
# This Travis job script has been generated by a script via
#
# make_travis_yml_2.hs 'servant-github-webhook.cabal'
#
# For more information, see https://github.com/hvr/multi-ghc-travis
#
sudo: false
cache:
directories:
- $HOME/.stack
before_install:
# Download and unpack the stack executable
- mkdir -p ~/.local/bin
- export PATH=$HOME/.local/bin:$PATH
- travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
install:
- stack --version
- stack --no-terminal build
# Here starts the actual work to be performed for the package under test;
# any command which exits with a non-zero exit code causes the build to fail.
script:
- stack --no-terminal --skip-ghc-check test