Skip to content
Snippets Groups Projects
Commit 4de80328 authored by Stefano Borini's avatar Stefano Borini Committed by GitHub
Browse files

Merge pull request #16 from force-h2020/testing

Added testing and travis needed changes
parents 323caf7f 18e4bb8f
No related branches found
No related tags found
No related merge requests found
......@@ -3,12 +3,15 @@ cache:
directories:
- "$HOME/.cache"
- "$HOME/.ccache"
env:
- PYTHON_VERSION=2.7
- PYTHON_VERSION=3.5
before_install:
- ccache -s
- export PATH=/usr/lib/ccache:${PATH}
- wget https://package-data.enthought.com/edm/rh5_x86_64/1.4/edm_1.4.1_linux_x86_64.sh && bash ./edm_1.4.1_linux_x86_64.sh -b -p $HOME
- export PATH=${HOME}/edm/bin:${PATH}
- edm environments create --version 3.5 force
- edm environments create --version ${PYTHON_VERSION} force
- . $HOME/.edm/envs/force/bin/activate
- cat requirements/edm_requirements.txt | grep -v "^#" | while read line; do edm install -y `echo $line | awk '{print $1"=="$2}'`; done
install:
......@@ -17,3 +20,9 @@ install:
script:
- pip install -r requirements/dev_requirements.txt
- flake8 .
- python -m unittest discover
after_success:
- coverage run -m unittest discover
- pip install codecov
- codecov
- bash <(curl -s https://codecov.io/bash)
flake8
coverage
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment