forked from JuliaLang/PackageCompiler.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
52 lines (52 loc) · 1.33 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
language: julia
os:
- linux
- osx
- windows
julia:
- 1.3
- 1.4
- nightly
addons:
apt:
sources:
- ubuntu-toolchain-r-test
before_install:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get update; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ $TRAVIS_CPU_ARCH != "arm64" ]; then sudo apt-get install gcc-8 gcc-8-multilib linux-libc-dev linux-headers-generic; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ $TRAVIS_CPU_ARCH != "arm64" ]; then sudo ln -s /usr/bin/gcc-8 /usr/local/bin/gcc; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ $TRAVIS_CPU_ARCH != "arm64" ]; then sudo ln -s /usr/include/asm-generic /usr/include/asm; fi
- which gcc
- gcc --version
arch:
- amd64
- x86
- arm64
after_success:
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder())'
jobs:
fast_finish: true
allow_failures:
# - julia: nightly
exclude:
- os: osx
arch: x86
- os: osx
arch: arm64
- os: windows
arch: arm64
include:
- stage: "Documentation"
julia: 1.3
os: linux
script:
- julia --project=docs/ -e 'using Pkg; Pkg.instantiate()'
- julia --project=docs/ docs/make.jl
after_success: skip
branches:
only:
- master
- /^release-.*/
- /^v[0-9]+\.[0-9]+\.[0-9]+$/ # version tags
notifications:
email: false