This repository was archived by the owner on Nov 6, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +58
-0
lines changed
Expand file tree Collapse file tree 1 file changed +58
-0
lines changed Original file line number Diff line number Diff line change 1+ language : python
2+ cache : pip
3+
4+ python :
5+ - 3.6
6+ - 3.4
7+ - 3.5
8+ - 3.7-dev
9+ - pypy3.3-5.2-alpha1
10+
11+ env :
12+ - TOXENV=py
13+
14+ stages :
15+ - test
16+ - name : deploy
17+ if : tag IS present
18+
19+ install :
20+ - pip install tox codecov
21+
22+ script :
23+ - tox
24+
25+ after_script :
26+ - codecov
27+
28+ jobs :
29+ include :
30+ - env : TOXENV=flake8
31+ python : 3.6
32+
33+ - os : osx
34+ language : generic
35+ env : TOXENV=py
36+ before_install :
37+ - brew update
38+ - brew upgrade python
39+ - pip3 install -U virtualenv # Travis' images rename pip to pip3.
40+ - virtualenv env -p python3
41+ - source env/bin/activate
42+
43+ - stage : deploy
44+ script :
45+ - pip install wheel twine
46+ - python setup.py sdist bdist_wheel
47+ - twine upload -u $PYPI_USERNAME -p $PYPI_PASSWORD dist/*
48+ - stage : deploy
49+ script :
50+ - pip install wheel
51+ - python setup.py sdist bdist_wheel
52+ - gem install dpl
53+ - dpl --api-key=$RELEASES_TOKEN --provider=releases --file=dist/* --file_glob=true --skip_cleanup=true
54+
55+ matrix :
56+ allow_failures :
57+ - python : pypy3.3-5.2-alpha1
58+ - python : 3.7-dev
You can’t perform that action at this time.
0 commit comments