This repository has been archived by the owner on Oct 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy path.travis.yml
31 lines (25 loc) · 1.54 KB
/
.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
dist: bionic
language: generic
cache:
directories:
- "$HOME/.stack"
addons:
apt:
packages:
- libgmp-dev
- lld-6.0
before_install:
- mkdir -p ~/.local/bin
- export PATH=$HOME/.local/bin:$PATH
- travis_retry curl -L https://get.haskellstack.org/stable/linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
install:
- stack --no-terminal --install-ghc test --only-dependencies
script:
- stack --no-terminal build --fast --test --no-run-tests --ghc-options "-Werror -fmax-pmcheck-iterations=5000000"
- env AMC_LIBRARY_PATH=$PWD/lib/ stack --no-terminal test --fast --ghc-options "-Werror -fmax-pmcheck-iterations=5000000" --test-arguments "--xml junit.xml --display t --hedgehog-tests 5000 --timeout 80"
- stack --no-terminal exec --package=hlint -- hlint --git
notifications:
slack:
secure: TbIOHm1fK3MZIsgSwbNXZh3017o47Hc1Q2DUOjNPOFhULOa7QoaUZLrcDFlPOKa9w3rVtivjEkdKac1Hw7kV8Zi18Rx7pEyu6ydtqfD5GLYpFNAZ/Mu/x9ODw8/iNBhr+HDPVal1pN5gBGTCtWZwd7cMeOAmPxl/5UoVBwvsSuUomFbpAgnfrVrPisO03ZTVxOECtDFQsT3PjGjVi3QoPNclO/blJlQ+2N+Lq6WbAyUWngGwwvYqX6SsmOQWFNOQOTLMn28GekUZzkYX14b6P26MO6t/zaJU2218Q43/y/Jhljig1kM5C/LSsVntpaumsSYzr3F6azc9hfB3eDA0+tdk2jduUil5DO0ZhZqO+NzRKHbh4aLE2e5t10a5DG+Z5waxa/OSvFAglfgkoyOayq4JpJW1dp2SpOU9DnLLB45cltYlqOCnoWFSI9G9iHCMUyaaKVGThCTRug3Sg2eXvoQe6dQgej441qUZCUOHNIGOVlBodRU9bXzlPaBgB5jsOlf77/GxJTBknXQ3hOJIsJbQuCrlKew91gS/rCQMTVYTrnAlJ57LGNQ9qXyznNZt1HakYh83tQYTCzk7dq3aDYlJ3VBcT21apijitUavCVoyYbrzIbZ4oOHQjC3dc4CZTZUfkBDxI14hfZ3BY2BygHh/UqoSfJ1JAiNVdhDaHcM=
on_success: change
on_failure: always