-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.disabled.yml
62 lines (55 loc) · 1.7 KB
/
.travis.disabled.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# This file has been generated -- see https://github.com/hvr/multi-ghc-travis
language: c
dist: trusty
sudo: false
cache:
- apt
- directories:
- $HOME/.cabsnap
- $HOME/.stack
- $PWD/.stack-work
_apts: &apts
sources:
- sourceline: 'deb ftp://jim.mathematik.uni-kl.de/repo/ubuntu14 trusty main'
key_url: 'ftp://jim.mathematik.uni-kl.de/repo/extra/gpg'
packages:
- libgmp3-dev
- libgsl0-dev
- liblapack-dev
- singular
matrix:
include:
- env: STACK_YAML=stack-800.yaml
compiler: ": #GHC 8.0.2"
addons:
apt:
<<: *apts
- env: STACK_YAML=stack-802.yaml
compiler: ": #GHC 8.2.2"
addons:
apt:
<<: *apts
- env: STACK_YAML=stack-804.yaml
compiler: ": #GHC 8.4.3"
addons:
apt:
<<: *apts
before_install:
- mkdir -p ~/.local/bin
- export PATH=$HOME/.local/bin:$PATH
- travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
- unset CC
- export PATH=$HOME/.local/bin:/opt/ghc/$GHCVER/bin:$PATH
- stack setup
install:
- stack --version
- stack build --jobs=3 --only-dependencies
- stack build --jobs=3 --test --only-dependencies
# Here starts the actual work to be performed for the package under test;
# any command which exits with a non-zero exit code causes the build to fail.
script:
- travis_wait 90 ./travis_long.sh stack --jobs=3 --no-terminal --skip-ghc-check test --no-rerun-tests
# Check that the resulting source distribution can be built & installed.
# If there are no other `.tar.gz` files in `dist`, this can be even simpler:
# `cabal install --force-reinstalls dist/*-*.tar.gz`
# EOF