Skip to content

Commit

Permalink
Changes for automated Travis build
Browse files Browse the repository at this point in the history
  • Loading branch information
nesdis committed Nov 18, 2018
1 parent c88fbaa commit 42a3c6f
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
language: python

python:
- "3.6"
- "3.6"

install:
- pip install tox
- wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-4.0.0.tgz
- tar xzf mongodb-linux-x86_64-4.0.0.tgz
- ${PWD}/mongodb-linux-x86_64-4.0.0/bin/mongod --version
- pip install tox

before_script:
- mkdir ${PWD}/mongodb-linux-x86_64-4.0.0/data
- ${PWD}/mongodb-linux-x86_64-4.0.0/bin/mongod --dbpath ${PWD}/mongodb-linux-x86_64-4.0.0/data --logpath ${PWD}/mongodb-linux-x86_64-4.0.0/mongodb.log --fork

script:
- tox -e django_dev
services:
- mongodb
- tox -e django_dev

after_script:
- pkill mongod

0 comments on commit 42a3c6f

Please sign in to comment.