This repository has been archived by the owner on Jan 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
116 lines (102 loc) · 3.42 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
105
106
107
108
109
110
111
112
113
114
115
116
############################################################################
branches:
only:
- master
- staging
- trying
- /^release\/.*$/ # release branches
- /^v[0-9]+\.[0-9]+\.[0-9]+$/ # version tags
env:
global:
- JULIA_DEBUG="all"
- PREDICTMD_OPEN_PLOTS_DURING_TESTS="true"
git:
depth: 99999999
language: bash
matrix:
fast_finish: true
notifications:
email:
on_failure: always
on_success: never
os:
- linux
services:
- docker
############################################################################
before_install:
- true
install:
- true
before_script:
- true
script:
- true
after_script:
- true
############################################################################
stages:
- "Stage 1 (julia-1: build and test)"
- "Stage 2 (latex-for-plotting: build and test)"
- "Stage 3 (offlineregistry: build and test)"
- "Stage 4 (predictmd: build)"
- "Stage 5 (predictmd: test `docker-1`)"
- "Stage 6 (predictmd: test `docker-2`)"
- "Stage 7 (predictmd: test `docker-3`)"
- "Stage 8 (predictmd: test `docker-4`)"
############################################################################
jobs:
include:
- stage: "Stage 1 (julia-1: build and test)"
name: "dilumaluthge/julia-1"
env:
- IMAGE="julia-1"
before_install: ./ci/travis/before_install.sh
script: ./ci/travis/build-and-test.sh
- stage: "Stage 2 (latex-for-plotting: build and test)"
name: "dilumaluthge/latex-for-plotting"
env:
- IMAGE="latex-for-plotting"
before_install: ./ci/travis/before_install.sh
script: ./ci/travis/build-and-test.sh
- stage: "Stage 3 (offlineregistry: build and test)"
name: "dilumaluthge/offlineregistry"
env:
- IMAGE="offlineregistry"
before_install: ./ci/travis/before_install.sh
script: ./ci/travis/build-and-test.sh
- stage: "Stage 4 (predictmd: build)"
name: "dilumaluthge/predictmd"
env:
- IMAGE="predictmd"
before_install: ./ci/travis/before_install.sh
script: ./ci/travis/build.sh
- stage: "Stage 5 (predictmd: test `docker-1`)"
name: "dilumaluthge/predictmd"
env:
- IMAGE="predictmd"
- PREDICTMD_TEST_GROUP="docker-1"
before_install: ./ci/travis/before_install.sh
script: ./ci/travis/test.sh
- stage: "Stage 6 (predictmd: test `docker-2`)"
name: "dilumaluthge/predictmd"
env:
- IMAGE="predictmd"
- PREDICTMD_TEST_GROUP="docker-2"
before_install: ./ci/travis/before_install.sh
script: ./ci/travis/test.sh
- stage: "Stage 7 (predictmd: test `docker-3`)"
name: "dilumaluthge/predictmd"
env:
- IMAGE="predictmd"
- PREDICTMD_TEST_GROUP="docker-3"
before_install: ./ci/travis/before_install.sh
script: ./ci/travis/test.sh
- stage: "Stage 8 (predictmd: test `docker-4`)"
name: "dilumaluthge/predictmd"
env:
- IMAGE="predictmd"
- PREDICTMD_TEST_GROUP="docker-4"
before_install: ./ci/travis/before_install.sh
script: ./ci/travis/test.sh
############################################################################