File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -5,13 +5,16 @@ before_install:
5
5
- sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 575159689BEFB442
6
6
- echo 'deb http://download.fpcomplete.com/ubuntu precise main'|sudo tee /etc/apt/sources.list.d/fpco.list
7
7
- sudo apt-get update -qq
8
- - sudo apt-get install stack -y -qq
9
- - stack setup
8
+ - mkdir -p ~/.local/bin
9
+ - export PATH=$HOME/.local/bin:$PATH
10
+ - travis_retry curl -L https://get.haskellstack.org/stable/linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
11
+ install :
12
+ - stack --no-terminal --install-ghc test --only-dependencies
10
13
script :
11
14
- echo $TRAVIS_TAG
12
15
- " GHC_OPTIONS=\" --ghc-options=\" $(ruby -e 'print (ENV[%q|TRAVIS_TAG|] =~ /v/ ? %q|-O3| : %q|-O0|)')\"\" "
13
16
- echo $GHC_OPTIONS
14
- - stack haddock --test -j 4 $GHC_OPTIONS
17
+ - stack --no-terminal haddock --test --no-haddock-deps -j 4 $GHC_OPTIONS
15
18
deploy :
16
19
- provider : releases
17
20
api_key :
You can’t perform that action at this time.
0 commit comments