File tree Expand file tree Collapse file tree 2 files changed +10
-12
lines changed Expand file tree Collapse file tree 2 files changed +10
-12
lines changed Original file line number Diff line number Diff line change 12
12
jobs :
13
13
frontend :
14
14
name : Frontend
15
- runs-on : ubuntu-16 .04
15
+ runs-on : ubuntu-18 .04
16
16
env :
17
17
JOBS : 1 # See https://git.io/vdao3 for details.
18
18
@@ -175,7 +175,7 @@ jobs:
175
175
176
176
- name : Setup database
177
177
run : |
178
- which diesel || cargo install diesel_cli --vers $(cat .diesel_version) --no-default-features --features postgres
178
+ which diesel || cargo install diesel_cli --vers $(cat .diesel_version) --no-default-features --features postgres --debug
179
179
diesel database setup --locked-schema
180
180
181
181
- name : Lint
Original file line number Diff line number Diff line change 1
1
language : rust
2
- sudo : required
3
- dist : xenial
2
+ dist : bionic
3
+ os : linux
4
4
5
5
branches :
6
6
only :
18
18
global :
19
19
- RUST_BACKTRACE=1
20
20
- JOBS=1 # See https://git.io/vdao3 for details.
21
- - DATABASE_URL=postgres://postgres:@localhost /cargo_registry_test
22
- - TEST_DATABASE_URL=postgres://postgres:@localhost /cargo_registry_test
21
+ - DATABASE_URL=postgres:///cargo_registry_test
22
+ - TEST_DATABASE_URL=postgres:///cargo_registry_test
23
23
- CARGO_INCREMENTAL=0
24
24
# Percy secrets are included here to enable Percy's GitHub integration
25
25
# on community-submitted PRs
26
26
- PERCY_TOKEN=0d8707a02b19aebbec79bb0bf302b8d2fa95edb33169cfe41b084289596670b1
27
27
- PERCY_PROJECT=crates-io/crates.io
28
- - PGPORT=5433
29
28
- PATH=$HOME/.cargo/bin:$PATH
30
29
- RUSTFLAGS="-C debuginfo=0 -D warnings"
31
30
- MALLOC_CONF=background_thread:true,abort_conf:true,abort:true,junk:true
32
31
33
32
install :
34
- - sudo cp /etc/postgresql/10/main/pg_hba.conf /etc/postgresql/11/main/pg_hba.conf
35
- - sudo systemctl restart postgresql@11-main
36
33
- script/ci/cargo-clean-on-new-rustc-version.sh
37
- - which diesel || cargo install diesel_cli --vers `cat .diesel_version` --no-default-features --features postgres
34
+ - which diesel || cargo install diesel_cli --vers `cat .diesel_version` --no-default-features --features postgres --debug
38
35
39
36
before_script :
40
37
- diesel database setup --locked-schema
41
38
42
39
addons :
43
- chrome : stable
44
40
postgresql : " 11"
45
41
apt :
46
42
packages :
47
43
- postgresql-11
48
44
- postgresql-client-11
49
45
50
- matrix :
46
+ jobs :
51
47
fast_finish : true
52
48
allow_failures :
53
49
- rust : nightly
@@ -64,6 +60,8 @@ matrix:
64
60
- name : Frontend
65
61
language : node_js
66
62
node_js : 12
63
+ addons :
64
+ chrome : stable
67
65
install :
68
66
- npm ci
69
67
before_script : skip
You can’t perform that action at this time.
0 commit comments