File tree Expand file tree Collapse file tree 2 files changed +8
-12
lines changed Expand file tree Collapse file tree 2 files changed +8
-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
PERCY_PARALLEL_TOTAL : 2
64
64
65
65
env :
66
66
RUST_BACKTRACE : 1
67
- DATABASE_URL : postgres://postgres:@localhost /cargo_registry_test
68
- TEST_DATABASE_URL : postgres://postgres:@localhost /cargo_registry_test
67
+ DATABASE_URL : postgres:///cargo_registry_test
68
+ TEST_DATABASE_URL : postgres:///cargo_registry_test
69
69
CARGO_INCREMENTAL : 0
70
70
RUSTFLAGS : " -C debuginfo=0 -D warnings"
71
71
MALLOC_CONF : " background_thread:true,abort_conf:true,abort:true,junk:true"
@@ -196,7 +196,7 @@ jobs:
196
196
197
197
- name : Setup database
198
198
run : |
199
- which diesel || cargo install diesel_cli --vers $(cat .diesel_version) --no-default-features --features postgres
199
+ which diesel || cargo install diesel_cli --debug -- vers $(cat .diesel_version) --no-default-features --features postgres
200
200
diesel database setup --locked-schema
201
201
202
202
- 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
4
3
5
4
branches :
6
5
only :
18
17
global :
19
18
- RUST_BACKTRACE=1
20
19
- 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
20
+ - DATABASE_URL=postgres:///cargo_registry_test
21
+ - TEST_DATABASE_URL=postgres:///cargo_registry_test
23
22
- CARGO_INCREMENTAL=0
24
23
- PERCY_PARALLEL_TOTAL=2
25
24
# Percy secrets are included here to enable Percy's GitHub integration
26
25
# on community-submitted PRs
27
26
- PERCY_TOKEN=0d8707a02b19aebbec79bb0bf302b8d2fa95edb33169cfe41b084289596670b1
28
27
- PERCY_PROJECT=crates-io/crates.io
29
- - PGPORT=5433
30
28
- PATH=$HOME/.cargo/bin:$PATH
31
29
- RUSTFLAGS="-C debuginfo=0 -D warnings"
32
30
- MALLOC_CONF=background_thread:true,abort_conf:true,abort:true,junk:true
33
31
34
32
install :
35
- - sudo cp /etc/postgresql/10/main/pg_hba.conf /etc/postgresql/11/main/pg_hba.conf
36
- - sudo systemctl restart postgresql@11-main
37
33
- script/ci/cargo-clean-on-new-rustc-version.sh
38
- - 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
39
35
40
36
before_script :
41
37
- diesel database setup --locked-schema
You can’t perform that action at this time.
0 commit comments