Skip to content

Commit 0296ec4

Browse files
committed
Attempt to get travis passing
1 parent 183de33 commit 0296ec4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.travis.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ install:
1717
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
1818
- yarn
1919
- yarn run bower install
20+
- cargo install diesel_cli --debug --no-default-features --features postgres && export PATH=$HOME/.cargo/bin:$PATH
2021

2122
before_script:
22-
- psql -c 'create database cargo_registry_test;' -U postgres
23+
- diesel database setup
2324

2425
script:
2526
- cargo build
@@ -42,6 +43,7 @@ addons:
4243

4344
env:
4445
global:
46+
- DATABASE_URL=postgres://postgres:@localhost/cargo_registry_test
4547
- TEST_DATABASE_URL=postgres://postgres:@localhost/cargo_registry_test
4648
- S3_BUCKET=alexcrichton-test
4749

0 commit comments

Comments
 (0)