Skip to content

Commit

Permalink
initial setup for travis-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ntelfer committed Aug 24, 2018
1 parent 97b9be6 commit c483142
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
language: python
python:
- "3.6"

# Make sure libsodium dependency is present
before_install:
- wget https://download.libsodium.org/libsodium/releases/libsodium-1.0.16.tar.gz
- tar -zxvf libsodium-1.0.16.tar.gz
- cd libsodium-1.0.16
- ./configure
- make && make check
- sudo make install
- cd ..

install:
- pip install didery
- pip install -e ../didery.py
- dideryd &
- dideryd --port=8000 &

# Run Tests
script:
- pytest tests/ -vv
13 changes: 13 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
arrow==0.12.1
atomicwrites==1.1.5
attrs==18.1.0
click==6.7
ioflo==1.7.4
libnacl==1.6.1
more-itertools==4.3.0
pluggy==0.7.1
py==1.5.4
pytest==3.7.2
python-dateutil==2.7.3
simplejson==3.16.0
six==1.11.0

0 comments on commit c483142

Please sign in to comment.