We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 183de33 commit 0296ec4Copy full SHA for 0296ec4
.travis.yml
@@ -17,9 +17,10 @@ install:
17
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
18
- yarn
19
- yarn run bower install
20
+ - cargo install diesel_cli --debug --no-default-features --features postgres && export PATH=$HOME/.cargo/bin:$PATH
21
22
before_script:
- - psql -c 'create database cargo_registry_test;' -U postgres
23
+ - diesel database setup
24
25
script:
26
- cargo build
@@ -42,6 +43,7 @@ addons:
42
43
44
env:
45
global:
46
+ - DATABASE_URL=postgres://postgres:@localhost/cargo_registry_test
47
- TEST_DATABASE_URL=postgres://postgres:@localhost/cargo_registry_test
48
- S3_BUCKET=alexcrichton-test
49
0 commit comments