Skip to content

Commit 22c0aa2

Browse files
committed
Switch to PPA package for diesel CLI installation
1 parent b564b60 commit 22c0aa2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ env:
2121

2222
install:
2323
- script/ci/cargo-clean-on-new-rustc-version.sh
24-
- cargo install --debug --force diesel_cli --vers `cat .diesel_version` --no-default-features --features postgres && export PATH=$HOME/.cargo/bin:$PATH
2524

2625
before_script:
2726
- diesel database setup --locked-schema
@@ -30,9 +29,12 @@ addons:
3029
chrome: stable
3130
postgresql: "11"
3231
apt:
32+
sources:
33+
- ppa:jtgeibel/rust-backports
3334
packages:
3435
- postgresql-11
3536
- postgresql-client-11
37+
- diesel-cli
3638

3739
matrix:
3840
fast_finish: true

script/ci/cargo-clean-on-new-rustc-version.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -e
44

55
manual_stamp_file=target/ci_manual_stamp
6-
manual_stamp=7 # Change this to force a clean build on CI
6+
manual_stamp=8 # Change this to force a clean build on CI
77

88
if [ -f $manual_stamp_file ]; then
99
if echo "$manual_stamp" | cmp -s $manual_stamp_file -; then

0 commit comments

Comments
 (0)