File tree Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Expand file tree Collapse file tree 2 files changed +6
-10
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
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 secrets are included here to enable Percy's GitHub integration
25
24
# on community-submitted PRs
26
25
- PERCY_TOKEN=0d8707a02b19aebbec79bb0bf302b8d2fa95edb33169cfe41b084289596670b1
27
26
- PERCY_PROJECT=crates-io/crates.io
28
- - PGPORT=5433
29
27
- PATH=$HOME/.cargo/bin:$PATH
30
28
- RUSTFLAGS="-C debuginfo=0 -D warnings"
31
29
- MALLOC_CONF=background_thread:true,abort_conf:true,abort:true,junk:true
32
30
33
31
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
32
- 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
33
+ - which diesel || cargo install diesel_cli --vers `cat .diesel_version` --no-default-features --features postgres --debug
38
34
39
35
before_script :
40
36
- diesel database setup --locked-schema
You can’t perform that action at this time.
0 commit comments