forked from purescript/purescript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
30 lines (30 loc) · 915 Bytes
/
.travis.yml
File metadata and controls
30 lines (30 loc) · 915 Bytes
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
env:
- CABALVER=1.22 GHCVER=7.8.3 SUITE=tests
- CABALVER=1.22 GHCVER=7.8.3 SUITE=psci-tests
before_install:
- travis_retry sudo add-apt-repository -y ppa:hvr/ghc
- travis_retry sudo apt-get update
- travis_retry sudo apt-get install cabal-install-$CABALVER ghc-$GHCVER
- export PATH="/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$HOME/.cabal/bin:$PATH"
install:
- cabal --version
- echo "$(ghc --version) [$(ghc --print-project-git-commit-id 2> /dev/null || echo '?')]"
- travis_retry cabal update
- cabal install --only-dependencies --enable-tests --enable-benchmarks
script:
- ./travis-script.sh
after_script:
- ./travis-after-script.sh
notifications:
email: true
before_deploy: "./bundle/build.sh linux64"
deploy:
provider: releases
api_key: $RELEASE_KEY
file:
- bundle/linux64.tar.gz
- bundle/linux64.sha
skip_cleanup: true
on:
all_branches: true
tags: true