Skip to content

Commit ca06d5c

Browse files
committed
Use caching on Travis
1 parent b3a3df9 commit ca06d5c

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.travis.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,19 @@ before_install:
1515
- export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$PATH
1616

1717
install:
18+
- curl -sSL https://github.com/sol/tinc/raw/master/get-tinc.sh | bash
19+
- export PATH=$HOME/.tinc/bin:$PATH
20+
- tinc --version
1821
- cabal --version
1922
- ghc --version
2023
- travis_retry cabal update
21-
- cabal install --only-dependencies --enable-tests
24+
- tinc
2225

2326
script:
2427
- cabal configure --enable-tests --ghc-options=-Werror
2528
- cabal build
2629
- cabal test
30+
31+
cache:
32+
directories:
33+
- $HOME/.tinc/cache

0 commit comments

Comments
 (0)