Skip to content

Commit b564b60

Browse files
committed
Bump CI stack from xenial to bionic
1 parent ccfda71 commit b564b60

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.travis.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
language: rust
2-
sudo: required
3-
dist: xenial
2+
dist: bionic
43

54
cache:
65
cargo: true
@@ -11,21 +10,18 @@ before_cache: script/ci/prune-cache.sh
1110
env:
1211
global:
1312
- 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
1615
- CARGO_TARGET_DIR=target
1716
- PERCY_PARALLEL_TOTAL=2
1817
# Percy secrets are included here to enable Percy's GitHub integration
1918
# on community-submitted PRs
2019
- PERCY_TOKEN=0d8707a02b19aebbec79bb0bf302b8d2fa95edb33169cfe41b084289596670b1
2120
- PERCY_PROJECT=crates-io/crates.io
22-
- PGPORT=5433
2321

2422
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
2723
- 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
2925

3026
before_script:
3127
- diesel database setup --locked-schema

0 commit comments

Comments
 (0)