forked from gridap/Gridap.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
105 lines (99 loc) · 3.35 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# Documentation: http://docs.travis-ci.com/user/languages/julia/
stages:
- name: Test
- name: PluginsTest
if: commit_message =~ ^\[full-ci\]
- name: Documentation
language: julia
os:
- linux
julia:
- 1.0
- 1.4
notifications:
email:
on_success: never
on_failure: always
after_success:
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder())'
jobs:
include:
- stage: "Documentation"
julia: 1.4
os: linux
script:
- julia --project=docs/ -e 'using Pkg;
Pkg.develop(PackageSpec(path=pwd()));
Pkg.instantiate()'
- julia --project=docs/ docs/make.jl
after_success: skip
- stage: "PluginsTest"
name: "GridapGmshTest"
julia: 1.4
os: linux
addons:
apt:
update: true
packages:
- libglu1-mesa
- libxrender1
- libxcursor1
- libxft2
- libxinerama1
before_script:
- curl -OL http://gmsh.info/bin/Linux/gmsh-4.4.1-Linux64-sdk.tgz
- tar xfv gmsh-4.4.1-Linux64-sdk.tgz
- GMSHROOT=`pwd`/gmsh-4.4.1-Linux64-sdk
- export PATH=$PATH:$GMSHROOT/bin
script:
- mkdir -p tmp
- julia --project=tmp/ -e 'using Pkg;
Pkg.develop(PackageSpec(path=pwd()));
Pkg.instantiate();
Pkg.add(PackageSpec(name="GridapGmsh",rev="master"));
Pkg.build("GridapGmsh");
Pkg.test("GridapGmsh");'
after_success: skip
- stage: "PluginsTest"
name: "GridapPardisoTest"
julia: 1.4
os: linux
addons:
apt:
sources:
- sourceline: 'deb [trusted=yes] https://apt.repos.intel.com/mkl all main'
key_url: 'https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB'
update: true
packages:
- gcc
- intel-mkl-64bit-2019.5-075
before_script:
- if [ `getconf LONG_BIT` = "64" ];then source /opt/intel/mkl/bin/mklvars.sh intel64; else source /opt/intel/mkl/bin/mklvars.sh ia32; fi
script:
- mkdir -p tmp
- julia --project=tmp/ -e 'using Pkg;
Pkg.develop(PackageSpec(path=pwd()));
Pkg.instantiate();
Pkg.add(PackageSpec(name="GridapPardiso",rev="master"));
Pkg.build("GridapPardiso");
Pkg.test("GridapPardiso");'
after_success: skip
- stage: "PluginsTest"
name: "GridapPETScTest"
julia: 1.4
os: linux
addons:
apt:
update: true
packages:
- openmpi-bin
- petsc-dev
script:
- mkdir -p tmp
- julia --project=tmp/ -e 'using Pkg;
Pkg.develop(PackageSpec(path=pwd()));
Pkg.instantiate();
Pkg.add(PackageSpec(name="GridapPETSc",rev="master"));
Pkg.build("GridapPETSc");
Pkg.test("GridapPETSc");'
after_success: skip