Skip to content

Commit 0833183

Browse files
committed
Move addons to specific jobs
The node_js containers hang for 5 minute when starting postgres 11, which is not needed for those tests. The rust containers fail to install chrome (because its deps are not installed by default there) and it is not needed for those tests. This also cleans up two validation warnings.
1 parent 751d122 commit 0833183

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

.travis.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
language: rust
22
dist: bionic
3+
os: linux
34

45
branches:
56
only:
@@ -35,21 +36,19 @@ install:
3536
before_script:
3637
- diesel database setup --locked-schema
3738

38-
addons:
39-
chrome: stable
40-
postgresql: "11"
41-
apt:
42-
packages:
43-
- postgresql-11
44-
- postgresql-client-11
45-
46-
matrix:
39+
jobs:
4740
fast_finish: true
4841
allow_failures:
4942
- rust: nightly
5043
include:
5144
- name: Backend
5245
rust: stable
46+
addons:
47+
postgresql: "11"
48+
apt:
49+
packages:
50+
- postgresql-11
51+
- postgresql-client-11
5352
before_install:
5453
- rustup component add rustfmt-preview
5554
- rustup component add clippy-preview
@@ -60,6 +59,8 @@ matrix:
6059
- name: Frontend
6160
language: node_js
6261
node_js: 12
62+
addons:
63+
chrome: stable
6364
install:
6465
- npm ci
6566
before_script: skip

0 commit comments

Comments
 (0)