-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.travis.yml
62 lines (47 loc) · 1.1 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
dist: bionic
branches:
except:
- /^dependabot\/.*$/
jobs:
include:
- &test
stage: test
language: python
python: 2.7
addons:
apt:
packages:
- libcurl4-openssl-dev
- python-dev
install:
- pip install -r requirements.txt
before_script:
- git submodule update --init --recursive
script:
# Try to install the package
- pip install .
# Run tests
- pytest -vv
- <<: *test
python: 3.6
- stage: test
name: "Linting (black)"
language: python
python: 3.6
install:
- pip install black==18.9b0
script:
- black tests *.py --check
notifications:
email:
on_failure: change
deploy:
provider: pypi
distributions: "sdist"
skip_cleanup: true
user: Tobias.Bieniek
password:
secure: EoZBUYwOumozqjqZ0ODDUfywSF+kSxUeIEVQNzjKjWdbzdwzD9tBi3uEGed6+CkZr9R/5arc/YAjCt/1zuKfdgOD6Mh6VxgkcPoaBkfF0nsTKwgNzN29BEU4P1V7nWpILy7JPC80K0fCvH2UwGlmB79oMFuLu74vcf2MhTKA40E=
on:
tags: true
repo: skylines-project/py-xcsoar