[CI] Add Python 3 to build

This commit is contained in:
Bryan W. Weber 2016-12-09 17:24:00 -05:00 committed by Ray Speth
parent ca6f8f4fd1
commit 9f198f028e
2 changed files with 9 additions and 3 deletions

View file

@ -8,6 +8,10 @@ addons:
packages:
- python-dev
- python-numpy
- python-pip
- python3-dev
- python3-numpy
- python3-setuptools
- gfortran
- libsundials-serial-dev
- liblapack-dev
@ -20,9 +24,10 @@ before_script: |
brew update
brew install scons
brew install boost
brew install python3
pip3 install numpy
fi
export PATH=$HOME/.local/bin:$PATH
rm -f cantera.conf
script:
- scons build -j2 VERBOSE=y python_package=full python3_package=n blas_lapack_libs=lapack,blas optimize=n
- scons build -j2 VERBOSE=y python_package=full python3_package=y blas_lapack_libs=lapack,blas optimize=n
- scons test

View file

@ -7,9 +7,10 @@ install:
C:\Python27-x64\Scripts\pip.exe install cython
C:\Python27-x64\Scripts\pip.exe install 3to2
C:\Python27-x64\Scripts\pip.exe install pypiwin32
C:\Python35-x64\Scripts\pip.exe install numpy
build_script:
- cmd: C:\Python27-x64\scons build -j2 boost_inc_dir=C:\Libraries\boost_1_62_0 debug=n VERBOSE=y
- cmd: C:\Python27-x64\scons build -j2 boost_inc_dir=C:\Libraries\boost_1_62_0 debug=n VERBOSE=y python3_cmd=C:\Python35-x64\python.exe
test_script:
- ps: |