-
Notifications
You must be signed in to change notification settings - Fork 17
/
.travis.yml
30 lines (25 loc) · 911 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
language: python
virtualenv:
system_site_packages: true
before_install:
- sudo apt-get update
- sudo apt-get install -y --fix-missing libzbar-dev libdmtx0a libegl1-mesa libx11-xcb1;
- 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 --yes conda
# Useful for debugging any issues with conda
- conda info -a
- conda env create -f inselect.yml
- source activate inselect
install:
- pip install -r requirements.pip
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- pyrcc5 icons.qrc > inselect/gui/icons.py
script:
- nosetests --verbose --with-coverage --cover-inclusive --cover-tests --cover-package=inselect --verbose inselect
after_success:
- coveralls