forked from NYUCCL/psiTurk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
43 lines (42 loc) · 1.24 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
41
42
43
language: python
matrix:
include:
- name: "Python 3.6 on Linux"
python: 3.6
- name: "Python 3.7 on Linux"
python: 3.7
- name: "Python 3.7 on macOS"
os: osx
osx_image: xcode11
language: shell
git:
quiet: true
before_install:
- sudo rm -f /etc/boto.cfg
install:
- pip3 install -r requirements.txt
- pip3 install coverage
- pip3 install coveralls
script:
- python3 setup.py test || 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