-
Notifications
You must be signed in to change notification settings - Fork 258
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #363 from hadim/fix-lib-location
Fix lib location
- Loading branch information
Showing
2 changed files
with
113 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,99 @@ | ||
language: python | ||
|
||
|
||
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 | ||
fast_finish: true | ||
include: | ||
- language: python | ||
os: linux | ||
env: | ||
- PYTHON_VERSION="2.7" | ||
- JAVA_VERSION="8" | ||
- language: python | ||
os: linux | ||
env: | ||
- PYTHON_VERSION="3.6" | ||
- JAVA_VERSION="8" | ||
- language: python | ||
os: linux | ||
env: | ||
- PYTHON_VERSION="3.7" | ||
- JAVA_VERSION="8" | ||
- language: python | ||
os: linux | ||
env: | ||
- PYTHON_VERSION="3.7" | ||
- JAVA_VERSION="8" | ||
- RUN=sdist | ||
- language: python | ||
os: linux | ||
env: | ||
- PYTHON_VERSION="2.7" | ||
- JAVA_VERSION="9" | ||
- language: python | ||
os: linux | ||
env: | ||
- PYTHON_VERSION="3.6" | ||
- JAVA_VERSION="9" | ||
- language: python | ||
os: linux | ||
env: | ||
- PYTHON_VERSION="3.7" | ||
- JAVA_VERSION="9" | ||
- language: python | ||
os: linux | ||
env: | ||
- PYTHON_VERSION="2.7" | ||
- JAVA_VERSION="10" | ||
- language: python | ||
os: linux | ||
env: | ||
- PYTHON_VERSION="3.6" | ||
- JAVA_VERSION="10" | ||
- language: python | ||
os: linux | ||
env: | ||
- PYTHON_VERSION="3.7" | ||
- JAVA_VERSION="10" | ||
- language: python | ||
os: linux | ||
env: | ||
- PYTHON_VERSION="2.7" | ||
- JAVA_VERSION="11" | ||
- language: python | ||
os: linux | ||
env: | ||
- PYTHON_VERSION="3.6" | ||
- JAVA_VERSION="11" | ||
- language: python | ||
os: linux | ||
env: | ||
- PYTHON_VERSION="3.7" | ||
- JAVA_VERSION="11" | ||
|
||
before_install: | ||
- sudo apt-get update | ||
- sudo apt-get install python-pip openjdk-7-jdk | ||
|
||
install: | ||
- if [ "$RUN" != "sdist" ]; then pip install --upgrade cython six; fi; | ||
- sudo apt-get update | ||
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh | ||
- bash miniconda.sh -b -p $HOME/miniconda | ||
- echo ". $HOME/miniconda/etc/profile.d/conda.sh" >> $HOME/.bashrc | ||
- source $HOME/.bashrc | ||
- hash -r | ||
- conda config --set always_yes yes --set changeps1 no | ||
- conda config --add channels conda-forge | ||
- conda update -q conda | ||
- conda info -a | ||
- conda create -n jnius_env python=$PYTHON_VERSION | ||
- conda activate jnius_env | ||
- conda install openjdk=$JAVA_VERSION cython nose ant pip setuptools six | ||
|
||
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; | ||
- conda activate jnius_env | ||
- if [ "$RUN" == "sdist" ]; then | ||
if [ "$PYJNIUS_DEPLOY" == "1" ]; then | ||
conda install twine; | ||
python setup_sdist.py sdist; | ||
python -m twine upload dist/*; | ||
fi; | ||
else | ||
make && make tests; | ||
fi; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters