Skip to content

Commit 751d122

Browse files
committed
Bump CI stack from xenial to bionic
1 parent 6ba7e75 commit 751d122

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
jobs:
1313
frontend:
1414
name: Frontend
15-
runs-on: ubuntu-16.04
15+
runs-on: ubuntu-18.04
1616
env:
1717
JOBS: 1 # See https://git.io/vdao3 for details.
1818

@@ -175,7 +175,7 @@ jobs:
175175

176176
- name: Setup database
177177
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
179179
diesel database setup --locked-schema
180180
181181
- name: Lint

.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
branches:
65
only:
@@ -18,23 +17,20 @@ env:
1817
global:
1918
- RUST_BACKTRACE=1
2019
- 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
2322
- CARGO_INCREMENTAL=0
2423
# Percy secrets are included here to enable Percy's GitHub integration
2524
# on community-submitted PRs
2625
- PERCY_TOKEN=0d8707a02b19aebbec79bb0bf302b8d2fa95edb33169cfe41b084289596670b1
2726
- PERCY_PROJECT=crates-io/crates.io
28-
- PGPORT=5433
2927
- PATH=$HOME/.cargo/bin:$PATH
3028
- RUSTFLAGS="-C debuginfo=0 -D warnings"
3129
- MALLOC_CONF=background_thread:true,abort_conf:true,abort:true,junk:true
3230

3331
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
3632
- 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
3834

3935
before_script:
4036
- diesel database setup --locked-schema

0 commit comments

Comments
 (0)