File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed 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
cache :
6
5
cargo : true
@@ -11,21 +10,18 @@ before_cache: script/ci/prune-cache.sh
11
10
env :
12
11
global :
13
12
- JOBS=1 # See https://git.io/vdao3 for details.
14
- - DATABASE_URL=postgres://postgres:@localhost /cargo_registry_test
15
- - TEST_DATABASE_URL=postgres://postgres:@localhost /cargo_registry_test
13
+ - DATABASE_URL=postgres:///cargo_registry_test
14
+ - TEST_DATABASE_URL=postgres:///cargo_registry_test
16
15
- CARGO_TARGET_DIR=target
17
16
- PERCY_PARALLEL_TOTAL=2
18
17
# Percy secrets are included here to enable Percy's GitHub integration
19
18
# on community-submitted PRs
20
19
- PERCY_TOKEN=0d8707a02b19aebbec79bb0bf302b8d2fa95edb33169cfe41b084289596670b1
21
20
- PERCY_PROJECT=crates-io/crates.io
22
- - PGPORT=5433
23
21
24
22
install :
25
- - sudo cp /etc/postgresql/10/main/pg_hba.conf /etc/postgresql/11/main/pg_hba.conf
26
- - sudo systemctl restart postgresql@11-main
27
23
- script/ci/cargo-clean-on-new-rustc-version.sh
28
- - cargo install --force diesel_cli --vers `cat .diesel_version` --no-default-features --features postgres && export PATH=$HOME/.cargo/bin:$PATH
24
+ - cargo install --debug -- force diesel_cli --vers `cat .diesel_version` --no-default-features --features postgres && export PATH=$HOME/.cargo/bin:$PATH
29
25
30
26
before_script :
31
27
- diesel database setup --locked-schema
You can’t perform that action at this time.
0 commit comments