forked from NYUCCL/psiTurk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (35 loc) · 1009 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
31
32
33
34
35
36
language: python
python:
- '3.6'
- '3.7'
git:
quiet: true
before_install:
- sudo rm -f /etc/boto.cfg
install:
- pip install -r requirements.txt
- pip install coverage
- pip install coveralls
script:
- python setup.py test
- coverage run --source=psiturk setup.py test
after_success: coveralls
deploy:
# test pypi pip deployment
# - provider: pypi
# server: https://test.pypi.org/legacy/
# user: nyuccl
# password:
# secure: h8nh6ooykI7eniajVkE/MYxZgyZoxcKRODhFWUwjlSHRmUV2tW/n2i/4MYJvMQXqiBgO64nOPmNhNH0mhYY+GbwyinAThRn3xhPIUfO8tV+edpzlzSwnGT+xSRINoUaGZfrs5UqCPVS7Ff5EB4SYRfrYBoV2VA5sx1XxoKKPkU4=
# on:
# tags: false
# branch: master
# production pypi
provider: pypi
user: nyuccl
password:
secure: h8nh6ooykI7eniajVkE/MYxZgyZoxcKRODhFWUwjlSHRmUV2tW/n2i/4MYJvMQXqiBgO64nOPmNhNH0mhYY+GbwyinAThRn3xhPIUfO8tV+edpzlzSwnGT+xSRINoUaGZfrs5UqCPVS7Ff5EB4SYRfrYBoV2VA5sx1XxoKKPkU4=
skip_existing: true
on:
tags: true
branch: master