Skip to content

CI config maintenance #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 1, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,16 @@ environment:
MSSdk: 1
matrix:
- PYTHON: 27
- PYTHON: 35
- PYTHON: 36
- CONDA: 27
- CONDA: 35
matrix:
allow_failures:
- platform: x86
CONDA: 27
install:
- cmd: '"%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat" %PLATFORM%'
- ps: |
if ($env:PYTHON) {
if ($env:PLATFORM -eq "x64") { $env:PYTHON = "$env:PYTHON-x64" }
$env:PATH = "C:\Python$env:PYTHON\;C:\Python$env:PYTHON\Scripts\;$env:PATH"
pip install --disable-pip-version-check --user --upgrade pip
pip install --disable-pip-version-check --user --upgrade pip setuptools
} elseif ($env:CONDA) {
if ($env:CONDA -eq "27") { $env:CONDA = "" }
if ($env:PLATFORM -eq "x64") { $env:CONDA = "$env:CONDA-x64" }
Expand All @@ -36,8 +32,8 @@ build_script:
- ps: |
if ($env:PYTHON) {
python setup.py sdist
pip install --verbose dist\python_example-0.0.1.zip
} elseif ($env:CONDA) {
pip install --verbose dist\python_example-0.0.1.tar.gz
} else {
conda build conda.recipe
conda install --use-local python_example
}
Expand Down
28 changes: 19 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,22 @@
language: cpp
os:
- linux
- osx
env:
- PYTHON=2.7
- PYTHON=3.5
- CONDA=2.7
- CONDA=3.5
matrix:
include:
- os: linux
env: PYTHON=2.7
- os: linux
env: PYTHON=3.5
- os: linux
env: CONDA=2.7
- os: linux
env: CONDA=3.5
- os: osx
env: PYTHON=2.7
- os: osx
env: PYTHON=3.6
- os: osx
env: CONDA=2.7
- os: osx
env: CONDA=3.5
addons:
apt:
sources:
Expand All @@ -20,7 +30,7 @@ before_install:
- |
if [ "$TRAVIS_OS_NAME" = "linux" ]; then export CXX=g++-4.8 CC=gcc-4.8; fi
if [ -n "$PYTHON" ]; then
if [ "$TRAVIS_OS_NAME" = "osx" ] && [ "$PYTHON" = "3.5" ]; then
if [ "$TRAVIS_OS_NAME" = "osx" ] && [ "${PYTHON:0:1}" = "3" ]; then
brew update; brew install python3;
fi
pip install --user --upgrade pip virtualenv
Expand Down