pyjnius/.travis.yml

40 lines
823 B
YAML
Raw Normal View History

2012-11-06 18:49:29 +00:00
language: python
2015-06-24 19:41:22 +00:00
matrix:
fast_finish: true
include:
- language: python
python: 2.7
os: linux
dist: trusty
- language: python
python: 3.6
os: linux
dist: trusty
- language: python
python: 3.6
os: linux
os: trusty
env: RUN=sdist
2015-06-24 19:41:22 +00:00
2012-11-06 18:49:29 +00:00
before_install:
- sudo apt-get update
- sudo apt-get install python-pip openjdk-7-jdk
2012-11-06 18:49:29 +00:00
install:
- if [ "$RUN" != "sdist" ]; then pip install --upgrade cython six; fi;
2012-11-06 18:49:29 +00:00
script:
- if [ "$RUN" == "sdist" ]; then
if [ "$PYJNIUS_DEPLOY" == "1" ]; then
pip install twine;
python setup_sdist.py sdist;
python -m twine upload dist/*;
fi;
else
make && make tests;
fi;