forked from fsprojects/FSharp.Data
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
59 lines (53 loc) · 1.65 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
language: csharp
sudo: required
dist: trusty
# have to add dotnet to each mono build config because Travis doesn't have an 'include both runtimes' option
matrix:
include:
- mono: 5.8.0
env: USE_DOTNET_CLI=1
os: linux
- mono: 5.8.0
env: USE_DOTNET_CLI=1
os: osx
- mono: 5.8.0
env: USE_MSBUILD=1
os: linux
- mono: 5.8.0
env: USE_MSBUILD=1
os: osx
- mono: 5.10.0
env: USE_MSBUILD=1
os: linux
- mono: 5.10.0
env: USE_MSBUILD=1
os: osx
- mono: latest
env: USE_MSBUILD=1
os: linux
- mono: latest
env: USE_MSBUILD=1
os: osx
- mono: weekly
env: USE_MSBUILD=1
os: linux
allow_failures:
- mono: latest
- mono: weekly
# The whole build matrix fails when any individual builds fail (except those which have been allowed with allow_failures).
fast_finish: true
# We suspect this is no longer needed but is included just in case per Mono install instructions
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then echo "deb http://download.mono-project.com/repo/ubuntu trusty main" | sudo tee /etc/apt/sources.list.d/mono-official.list; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y referenceassemblies-pcl; fi
env:
global:
- MONO_MANAGED_WATCHER=disabled
script:
- ./build.sh CleanInternetCaches && ./build.sh All
branches:
except:
- gh-pages
- release