Skip to content

Commit

Permalink
skip buildout {#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
cehbrecht committed May 7, 2019
1 parent a3177c2 commit 243125a
Show file tree
Hide file tree
Showing 46 changed files with 632 additions and 1,249 deletions.
22 changes: 1 addition & 21 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
# installer
#Makefile

# Docker
#Dockerfile

# custom configs
custom.cfg
Makefile.config

# Python / Extensions etc.
*~
*.mo
Expand All @@ -27,6 +20,7 @@ __pycache__
.tox
nosetests.xml
unit_tests/testdata.json
build

# R
*.Rhistory
Expand All @@ -45,20 +39,6 @@ unit_tests/testdata.json
# Sublime Text Editor
*.sublime*

# buildout
bin
develop-eggs
eggs
parts
build
dist
downloads
.installed.cfg
.mr.developer.cfg
bootstrap-buildout.py
bootstrap.py
#generated by buildout

# sphinx
#docs/Makefile
docs/make.bat
Expand Down
29 changes: 26 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,31 @@ os:
python:
- "3.7"
sudo: false
services:
- mongodb
install:
- make install
# Python 3.x is default
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
# Useful for debugging any issues with conda
- conda info -a
# Prepare env with Python version
- conda create -n twitcher python=$TRAVIS_PYTHON_VERSION
# Update now the env with our environment
- conda env update -f environment.yml
- source activate twitcher
# Packages for testing
- pip install -r requirements_dev.txt
# Install twitcher
- python setup.py install
before_script:
# Start WPS service on port 6000
- pserve development.ini &
- sleep 2
script:
- make test
- make pep8
- pytest -v -m 'not online' tests/
- flake8
Loading

0 comments on commit 243125a

Please sign in to comment.