on master help sign in
Fixed build script
commitf9c646217548a650c47707c084becde11ebb96fc authorIlya Murzinov <murz42@gmail.com> dateSun 15 Oct 2017, 17:41 (9 years ago) parent4e97fd6
1 file changed+17−9
.travis.yml+17−9
.travis.yml+17−9
@@ -1,20 +1,28 @@
1−language: haskell
2−ghc: '7.10'
1+sudo: false
2+
3+cache:
4+ directories:
5+ - $HOME/.stack
6+
37branches:
48 only:
59 - master
10+
611cache:
712 directories:
813 - $HOME/.stack
14+ - .stack-work
15+
916before_install:
10− - echo "override before_install"
17+ - mkdir -p ~/.local/bin
18+ - export PATH=$HOME/.local/bin:$PATH
19+ - travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
20+
1121install:
12− - wget https://github.com/commercialhaskell/stack/releases/download/v1.0.0/stack-1.0.0-linux-x86_64.tar.gz -O stack.gz
13− - tar xvf stack.gz
14− - chmod +x stack-1.0.0-linux-x86_64/stack
15− - stack-1.0.0-linux-x86_64/stack setup
16− - stack-1.0.0-linux-x86_64/stack build
22+ - stack --no-terminal --skip-ghc-check setup
23+
1724before_script:
1825 - echo "override before_script"
26+
1927script:
20− - stack-1.0.0-linux-x86_64/stack test
28+ - stack --no-terminal --skip-ghc-check test