Skip to content

Commit c0fdba6

Browse files
authored
Merge pull request #134 from purescript/fix-ci
Fix CI
2 parents e24b6a6 + 3226486 commit c0fdba6

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.travis.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,11 @@ before_install:
1919
- export PATH=$HOME/.local/bin:$PATH
2020
- curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
2121

22-
23-
install:
24-
- echo "$(ghc --version) [$(ghc --print-project-git-commit-id 2> /dev/null || echo '?')]"
25-
- travis_wait stack --no-terminal -j1 --install-ghc build --only-dependencies
26-
2722
script:
28-
- travis_wait stack --no-terminal -j1 build
23+
# Set a timeout of 35 minutes. We could use travis_wait here, but travis_wait
24+
# doesn't produce any output until the command finishes, and also doesn't
25+
# always show all of the command's output.
26+
- timeout 35m stack --no-terminal -j1 --install-ghc build
2927

3028
notifications:
3129
email: true

0 commit comments

Comments
 (0)