forked from biran0079/crdp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
68 lines (68 loc) · 1.8 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
branches:
only:
- master
- "/^v.*$/"
notifications:
email:
on_success: change
on_failure: always
irc: chat.freenode.net#dedupe
language: python
matrix:
include:
- python: 3.7
- os: osx
language: generic
before_install:
- brew update
- brew upgrade python
- python3 -m venv env
- source env/bin/activate
- services:
- docker
env: DOCKER_IMAGE=quay.io/pypa/manylinux1_x86_64
install:
- docker pull $DOCKER_IMAGE
script:
- docker run --rm -v `pwd`:/io $DOCKER_IMAGE /io/.manylinux-install.sh
after_success:
- if [[ $TRAVIS_TAG ]]; then pip install twine && twine upload -u datamade.wheelbuilder
-p $PYPIPASSWORD --skip-existing wheelhouse/*; fi
- exit 0
- services:
- docker
env: DOCKER_IMAGE=quay.io/pypa/manylinux1_i686
install:
- docker pull $DOCKER_IMAGE
script:
- docker run --rm -v `pwd`:/io $DOCKER_IMAGE /io/.manylinux-install.sh
after_success:
- if [[ $TRAVIS_TAG ]]; then pip install twine && twine upload -u datamade.wheelbuilder
-p $PYPIPASSWORD --skip-existing wheelhouse/*; fi
- exit 0
install:
- pip install --upgrade pip
- pip install --upgrade -r requirements.txt
- pip install -e .
script:
- pytest pyhacrf
deploy:
- provider: pypi
skip_cleanup: true
user: datamade.wheelbuilder
on:
tags: true
condition: "$TRAVIS_OS_NAME = osx"
distributions: bdist_wheel
password: "$PYPIPASSWORD"
- provider: pypi
skip_cleanup: true
user: datamade.wheelbuilder
on:
tags: true
condition: "$TRAVIS_OS_NAME = linux"
distributions: sdist
password: "$PYPIPASSWORD"
env:
global:
- secure: bLmHqqa0ArZLYSpuFXw9z/mVwOn5eefdxUqMEb0lI4TCXMpOgYeHLNxHrnRtHveWYirqrnzEFW5trBRg8BnNnwAw+9Vwzdaa8OpXYVu0RrRiY0XQOStFg2ja2/OGY8ocNAekMPhrMBq1eG0kxtKo7j7FOO+HxJtf5kvAueXnOZM=