servant/.travis.yml

36 lines
708 B
YAML
Raw Normal View History

2015-09-05 21:39:40 -07:00
sudo: false
2014-12-02 17:24:10 +01:00
2015-09-24 14:40:27 +08:00
language: c
env:
2016-04-15 16:32:35 +03:00
- GHCVER=7.8.4 CABALVER=1.22
- GHCVER=7.10.3 CABALVER=1.22
- GHCVER=8.0.1 CABALVER=1.24
2015-09-24 14:40:27 +08:00
2015-09-05 21:39:40 -07:00
addons:
apt:
2015-09-24 14:40:27 +08:00
sources:
- hvr-ghc
2015-09-05 21:39:40 -07:00
packages:
2015-09-24 14:40:27 +08:00
- ghc-7.8.4
2016-04-15 16:32:35 +03:00
- ghc-7.10.3
- ghc-8.0.1
2015-09-24 14:40:27 +08:00
- cabal-install-1.22
2016-04-15 16:32:35 +03:00
- cabal-install-1.24
2015-09-05 21:39:40 -07:00
- libgmp-dev
2015-04-20 19:52:29 +02:00
2015-04-20 13:38:25 +02:00
install:
2015-09-24 14:40:27 +08:00
- (mkdir -p $HOME/.local/bin && cd $HOME/.local/bin && wget https://zalora-public.s3.amazonaws.com/tinc && chmod +x tinc)
2016-04-15 16:32:35 +03:00
- export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$PATH
2015-09-24 14:40:27 +08:00
- ghc --version
- cabal --version
- travis_retry cabal update
- sed -i 's/^jobs:/-- jobs:/' ${HOME}/.cabal/config
2015-04-20 13:38:25 +02:00
2015-01-29 11:18:16 +11:00
script:
2016-04-01 20:47:24 +08:00
- ./travis.sh
2015-02-19 20:32:05 +01:00
2015-09-05 21:39:40 -07:00
cache:
directories:
2015-09-24 14:40:27 +08:00
- $HOME/.tinc/cache