File tree Expand file tree Collapse file tree 1 file changed +28
-32
lines changed Expand file tree Collapse file tree 1 file changed +28
-32
lines changed Original file line number Diff line number Diff line change @@ -4,18 +4,19 @@ dist: trusty
4
4
5
5
branches :
6
6
except :
7
- - staging.tmp
7
+ - staging.tmp
8
8
9
9
cache :
10
10
cargo : true
11
-
12
- addons :
13
- chrome : stable
11
+ directories :
12
+ - $HOME/.npm
14
13
15
14
env :
16
15
global :
17
- # See https://git.io/vdao3 for details.
18
- - JOBS=1
16
+ - JOBS=1 # See https://git.io/vdao3 for details.
17
+ - DATABASE_URL=postgres://postgres:@localhost/cargo_registry_test
18
+ - TEST_DATABASE_URL=postgres://postgres:@localhost/cargo_registry_test
19
+ - CARGO_TARGET_DIR=target
19
20
20
21
before_install :
21
22
- nvm install 8
@@ -27,6 +28,7 @@ before_script:
27
28
- diesel database setup
28
29
29
30
addons :
31
+ chrome : stable
30
32
postgresql : " 9.5"
31
33
apt :
32
34
sources :
@@ -42,32 +44,26 @@ matrix:
42
44
allow_failures :
43
45
- rust : nightly
44
46
include :
45
- - rust : nightly-2018-02-13
46
- script :
47
- - cargo install --force rustfmt-nightly --vers 0.3.6
48
- - cargo fmt -- --write-mode=diff
49
- - cargo install --force clippy --vers 0.0.186
50
- - cargo clippy
51
- - rust : stable
52
- script :
53
- - cargo build
54
- - cargo test
55
- - npm install
56
- - npm test
57
- - rust : beta
58
- script :
59
- - cargo build
60
- - cargo test
61
- - rust : nightly
62
- script :
63
- - cargo build
64
- - cargo test
65
-
66
- env :
67
- global :
68
- - DATABASE_URL=postgres://postgres:@localhost/cargo_registry_test
69
- - TEST_DATABASE_URL=postgres://postgres:@localhost/cargo_registry_test
70
- - CARGO_TARGET_DIR=target
47
+ - rust : nightly-2018-02-13
48
+ script :
49
+ - cargo install --force rustfmt-nightly --vers 0.3.6
50
+ - cargo fmt -- --write-mode=diff
51
+ - cargo install --force clippy --vers 0.0.186
52
+ - cargo clippy
53
+ - rust : stable
54
+ script :
55
+ - cargo build
56
+ - cargo test
57
+ - npm install
58
+ - npm test
59
+ - rust : beta
60
+ script :
61
+ - cargo build
62
+ - cargo test
63
+ - rust : nightly
64
+ script :
65
+ - cargo build
66
+ - cargo test
71
67
72
68
notifications :
73
69
email :
You can’t perform that action at this time.
0 commit comments