-
-
Notifications
You must be signed in to change notification settings - Fork 84
/
.travis.yml
46 lines (45 loc) · 1.43 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
44
45
46
language: python
sudo: false
matrix:
include:
- os: linux
dist: trusty
python: 2.7
- os: linux
dist: trusty
python: 3.5
- os: linux
dist: trusty
python: 3.6
- os: osx
language: generic
env: PYVERSION='2.7.13'
- os: osx
language: generic
env: PYVERSION='3.6.0'
before_install:
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew upgrade pyenv; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then eval "$(pyenv init -)"; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then pyenv install $PYVERSION; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then pyenv global $PYVERSION; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then pyenv versions; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then python --version; fi
- pip install twine
- pip install -r requirements.txt
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then travis_wait python ./spiceypy/tests/gettestkernels.py; fi
install:
- python setup.py install
script:
- coverage run --source=spiceypy setup.py test
after_success:
- coveralls
deploy:
provider: pypi
user: andrewannex
password:
secure: YXA8LYIyAZ5HA2In4H/vUaCaVow9HbvKNT/TTT9OaH91Fszspr1uFo9mRQLNJlBViGgy2SaqNQITzlRdFyIcDstqRGPDQUw3xNIKvZ7YuHIzG1TVWNVpJsZf2ha1+JxozPTS2c2tlrS/LR7N4hYVtLOipaYAK2ucmB8sDu4dkws=
on:
tags: true
branch: master
repo: AndrewAnnex/SpiceyPy