-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
51 lines (47 loc) · 975 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
matrix:
fast_finish: true
include:
- os: linux
sudo: false
language: python
python: '2.7'
if: type != cron
- os: linux
sudo: false
language: python
python: '3.6'
if: type != cron
- os: osx
language: generic
osx_image: xcode9
if: type != cron
- os: linux
sudo: false
env: CONAN_LOGGING_LEVEL=10
language: python
python: '3.6'
if: type = cron
install:
- ".travis/install.sh"
script:
- ".travis/run.sh"
after_success:
- codecov
deploy:
- provider: pypi
user: ${PYPI_USERNAME}
password: ${PYPI_PASSWORD}
on:
tags: true
condition: "$TRAVIS_PYTHON_VERSION = '2.7'"
skip_cleanup: true
skip_existing: true
- provider: pypi
user: ${TEST_PYPI_USERNAME}
server: https://test.pypi.org/legacy/
password: ${TEST_PYPI_PASSWORD}
on:
branch: master
condition: "$TRAVIS_PYTHON_VERSION = '2.7'"
skip_cleanup: true
skip_existing: true