Skip to content

Commit 7c19d9f

Browse files
committed
Reduce the number of tests run in the unit testing stage to speed up Travis builds.
1 parent 28bd5da commit 7c19d9f

File tree

1 file changed

+13
-42
lines changed

1 file changed

+13
-42
lines changed

.travis.yml

Lines changed: 13 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,25 @@
11
language: julia
22

3+
os: linux
4+
dist: bionic
5+
36
notifications:
47
email: false
58

69
jobs:
10+
711
allow_failures:
8-
- julia: 1.0
9-
- julia: 1.1
10-
- julia: 1.2
1112
- julia: 1.4
1213
- julia: nightly
13-
- os: osx
14-
- os: windows
14+
1515
include:
16-
###### Tests
17-
### Linux
18-
- stage: "Unit tests"
19-
julia: 1.0
20-
os: linux
2116

22-
- stage:
23-
julia: 1.1
24-
os: linux
17+
########################################################
18+
### Unit testing
19+
########################################################
2520

26-
- stage:
27-
julia: 1.2
28-
os: linux
29-
30-
- stage:
21+
- stage: "Unit testing"
3122
julia: 1.3
32-
os: linux
3323
after_success:
3424
# Code coverage
3525
- julia -e 'using Pkg; Pkg.add("Coverage");'
@@ -38,35 +28,16 @@ jobs:
3828

3929
- stage:
4030
julia: 1.4
41-
os: linux
42-
43-
- stage: # Unit tests
44-
julia: nightly
45-
os: linux
4631

47-
### OSX
48-
- stage: # Unit tests
49-
julia: 1.3
50-
os: osx
51-
52-
- stage: # Unit tests
53-
julia: nightly
54-
os: osx
55-
56-
### Windows
57-
- stage: # Unit tests
58-
julia: 1.3
59-
os: windows
60-
61-
- stage: # Unit tests
32+
- stage:
6233
julia: nightly
63-
os: windows
6434

35+
########################################################
6536
### Documentation generation
37+
########################################################
38+
6639
- stage: "Documentation"
6740
julia: 1.3
68-
os: linux
69-
dist: bionic
7041
install:
7142
- sudo apt-get update
7243
- sudo apt-get install -y python3.7 python3-pip python3-setuptools

0 commit comments

Comments
 (0)