forked from coq/opam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
45 lines (38 loc) · 799 Bytes
/
.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
43
44
45
language: c
env:
global:
- NJOBS=2
matrix:
- COMPILER="4.02.3"
- COMPILER="4.06.0"
os:
- linux
- osx
cache:
apt: true
directories:
- ${HOME}/opam-cache
before_install:
if [ $TRAVIS_OS_NAME = osx ]; then
brew update; brew install --ignore-dependencies opam; fi
install:
- test -e ${HOME}/opam-cache/cache-${COMPILER}.tgz || scripts/opam-coq-init
script:
- set -o pipefail
- scripts/opam-coq-list-pr-files | xargs scripts/opam-coq-lint
- scripts/opam-coq-list-pr-files | xargs scripts/opam-coq-install-remove ${HOME}/opam-cache/cache-${COMPILER}.tgz
addons:
apt:
sources:
- avsm
packages:
- opam
- aspcud
- gcc-multilib
- libgtksourceview2.0-dev
dist: trusty
sudo: required
matrix:
fast_finish: true
allow_failures:
- os: osx