-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
40 lines (34 loc) · 1.56 KB
/
.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
31
32
33
34
35
36
37
38
39
40
# Config file for automatic testing at travis-ci.org
language: python
python:
- 3.6
before_install:
- pip install --upgrade pip
- pip install --upgrade wheel
- wget http://bit.ly/miniconda -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 show_channel_urls true
- conda info --all
install:
- conda env create -n test_env --quiet --file ci/environment-py36.yml
- source activate test_env
- conda list
- pip install -r requirements-dev.txt
- pip install -r requirements.txt
# command to run tests, e.g. python setup.py test
script:
- coverage run --source pystream -m pytest --verbose
after_success:
- coverage report -m
- coveralls
# deploy new versions to PyPI
deploy:
provider: pypi
on:
tags: true
python: 3.6
user: martibosch
password:
secure: TpTpdAx6JOVpKqekrOZLOPoCPCjj4eXEldxBYbrshcLBGfyOM5Xqb2yN+hw160oHBb+iyNtJFC0041vwylzTGD0yPSEkuV4+iBY+PZgQUWab4wEK6XyD0xXVWxtcuVHLy0QdrfGMEPwsQLAVcv0qkfb6akb8NWQiWaiyuGMfnWfcEZzNZoETjdWJCjdq/XAGLOo64BNTg7uZP28ndLbFr10HzCnTgLUc0KWIcqxTOOOaVKg3t7QXSyyDCgseXxv0aB2ZLAWpT5usirJJ3uBO7FMRXeiYwnL2WLNBFXYFVVOLfoHQ7iVQXchHtnWXiHDZCgxF4rhQFbxe8SCOkedCt9+vBXIGLxXdgDczHNdK/k4L9dRcNi/GKgvFJIuAmm7bTMHQkKZd9ZqUVheU+C2OVMqadhzBoi8qyviVV9H2tT7OMKJfELucEaYolAtywmTwwdtOz+u/2OhB77CLvO5vpPP+LfvF+YxK8Xdwux7TghW46uM1nBDsHx743yvJrIHbMDng+c1gf2CSF5C9/ry5B3KHT1XvyOCQqa1vssf4gR1/3NqU+NmuoQJ+2UdNVNgSKhTGNUhDj8cucNJ9q9EXgMJpvjcszP3rRLFUGuvRU+0+C0GmduclYXL8JWSkWb/HnGtGvJiGVj/9fqrSiwkrzF0bbdsrly73qo1vqNIXhkc=