configure travis to push to pypi
This commit is contained in:
parent
b22409d88c
commit
0c80eac633
38
.travis.yml
38
.travis.yml
|
@ -1,28 +1,28 @@
|
||||||
---
|
|
||||||
language: python
|
language: python
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- sudo add-apt-repository -y ppa:freecad-maintainers/freecad-daily
|
- sudo add-apt-repository -y ppa:freecad-maintainers/freecad-daily
|
||||||
- sudo apt-get update -qq
|
- sudo apt-get update -qq
|
||||||
install:
|
install:
|
||||||
- sudo apt-get install -y freecad freecad-doc
|
- sudo apt-get install -y freecad freecad-doc
|
||||||
- gcc --version
|
- gcc --version
|
||||||
- g++ --version
|
- g++ --version
|
||||||
- python ./setup.py install
|
- python ./setup.py install
|
||||||
- pip install coverage
|
- pip install coverage
|
||||||
- pip install coveralls
|
- pip install coveralls
|
||||||
- pip install Sphinx==1.3.2
|
- pip install Sphinx==1.3.2
|
||||||
- pip install travis-sphinx
|
- pip install travis-sphinx
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- coverage run --source=cadquery ./runtests.py
|
- coverage run --source=cadquery ./runtests.py
|
||||||
- travis-sphinx --nowarn --source=doc build
|
- travis-sphinx --nowarn --source=doc build
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- coveralls
|
- coveralls
|
||||||
- travis-sphinx deploy
|
- travis-sphinx deploy
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
except:
|
except:
|
||||||
- pythonocc
|
- pythonocc
|
||||||
- 2_0_branch
|
- 2_0_branch
|
||||||
|
deploy:
|
||||||
|
provider: pypi
|
||||||
|
user: dcowden
|
||||||
|
password:
|
||||||
|
secure: JwP4mOuypJPVW+WYgvVWLSY7rr1oEkxFhzMx3GCR53LfnpwGd9Qlm4aCDu0RbAuwbpEWmLD1S/m9/jtGr4LuTOMqqoLrRVxjNqz96hGo2he+/G/s5k1KyP8jSZK1zhJV5u69YcSnJq5/NI+ondALyYU3ZpEVFaFVcUA/PsDWzXA=
|
||||||
|
|
Loading…
Reference in New Issue
Block a user