-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (36 loc) · 1.49 KB
/
.travis.yml
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
31
32
33
34
35
36
37
38
39
40
41
42
sudo: required
matrix:
include:
- env: CABALVER=1.18 GHCVER=7.8.4
addons: {apt: {packages: [cabal-install-1.18,ghc-7.8.4], sources: [hvr-ghc]}}
- env: CABALVER=1.22 GHCVER=7.10.1
addons: {apt: {packages: [cabal-install-1.22,ghc-7.10.1],sources: [hvr-ghc]}}
- env: CABALVER=2.4 GHCVER=8.6.2
addons: {apt: {packages: [cabal-install-1.22,ghc-7.10.1],sources: [hvr-ghc]}}
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 # see note about happy/alex
- export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$PATH
- travis_retry sudo apt-get install checkinstall
install:
- cabal --version
- echo "$(ghc --version) [$(ghc --print-project-git-commit-id 2> /dev/null || echo '?')]"
- travis_retry cabal update
- cabal install --only-dependencies
#- cabal install --only-dependencies --enable-tests --enable-benchmarks
script:
- cabal configure
- cabal build
after_success:
- sudo checkinstall --nodoc -y --pkgname=sbcl-wrap --pkgversion=$TRAVIS_TAG make install prefix=/usr
deploy:
provider: releases
api_key:
secure: DNcfcmaX8afvA1+P3Ws0VBab7OLKnHdY/iX6ZUW0HHTBeZ7G/dVr2+1zRTGkbvDFcm9MAAYx+MIAfMNVmZQ/YzRr32eIQwYnRpba5rl1LWH3GRw9MY+1lYEczyOJfFbBv6IF0CQtT2jwZvktP7Tr100McvMLjIPPQmi1m8AU4GA=
file: sbcl-wrap_${TRAVIS_TAG}-1_amd64.deb
skip_cleanup: true
on:
repo: kisp/sbcl-wrap
tags: true
condition: $GHCVER = 8.6.2