Fix testing by using RUST_TEST_THREADS=1.

This commit is contained in:
Dessalines 2020-01-13 21:02:04 -05:00
parent 8f32b84b5a
commit 498ec2d8e0
2 changed files with 28 additions and 26 deletions

2
.travis.yml vendored
View file

@ -27,5 +27,7 @@ script:
- cargo test - cargo test
env: env:
- DATABASE_URL=postgres://lemmy:password@localhost:5432/lemmy - DATABASE_URL=postgres://lemmy:password@localhost:5432/lemmy
- RUST_TEST_THREADS=1
addons: addons:
postgresql: "9.4" postgresql: "9.4"