2018-07-16 07:53:10 +02:00
|
|
|
matrix:
|
|
|
|
|
include:
|
2018-08-02 06:07:35 +02:00
|
|
|
# python 3 osx
|
2018-07-31 23:55:47 +02:00
|
|
|
- os: osx
|
2018-08-02 06:07:35 +02:00
|
|
|
osx_image: xcode9.4 # macOS 10.13
|
2018-07-31 23:55:47 +02:00
|
|
|
env:
|
|
|
|
|
- MATRIX_EVAL=""
|
2018-08-01 21:57:35 +02:00
|
|
|
- ARCHFLAGS="-std=c++11"
|
2018-07-31 23:55:47 +02:00
|
|
|
- os: osx
|
|
|
|
|
osx_image: xcode8.3 # macOS 10.12
|
|
|
|
|
env:
|
|
|
|
|
- MATRIX_EVAL=""
|
2018-08-01 21:57:35 +02:00
|
|
|
- ARCHFLAGS="-std=c++11"
|
2018-07-31 23:55:47 +02:00
|
|
|
- os: osx
|
|
|
|
|
osx_image: xcode8 # macOS 10.11
|
|
|
|
|
env:
|
|
|
|
|
- MATRIX_EVAL=""
|
2018-08-01 21:57:35 +02:00
|
|
|
- ARCHFLAGS="-std=c++11"
|
2018-08-02 06:07:35 +02:00
|
|
|
# python 2 osx
|
|
|
|
|
- os: osx
|
|
|
|
|
osx_image: xcode9.4 # macOS 10.13
|
|
|
|
|
env:
|
|
|
|
|
- MATRIX_EVAL="brew update; brew bundle; shopt -s expand_aliases; alias python='python3';"
|
|
|
|
|
- ARCHFLAGS="-std=c++11"
|
|
|
|
|
- os: osx
|
|
|
|
|
osx_image: xcode8.3 # macOS 10.12
|
|
|
|
|
env:
|
|
|
|
|
- MATRIX_EVAL="brew update; brew bundle; shopt -s expand_aliases; alias python='python3';"
|
|
|
|
|
- ARCHFLAGS="-std=c++11"
|
|
|
|
|
- os: osx
|
|
|
|
|
osx_image: xcode8 # macOS 10.11
|
|
|
|
|
env:
|
|
|
|
|
- MATRIX_EVAL="brew update; brew bundle; shopt -s expand_aliases; alias python='python3';"
|
|
|
|
|
- ARCHFLAGS="-std=c++11"
|
2018-07-17 21:47:30 +02:00
|
|
|
- os: linux
|
|
|
|
|
dist: trusty # Ubuntu 14.04
|
2018-07-19 23:00:32 +02:00
|
|
|
sudo: false
|
2018-07-19 23:05:47 +02:00
|
|
|
language: python
|
2018-07-31 23:55:47 +02:00
|
|
|
python: '3.6'
|
2018-07-19 23:31:31 +02:00
|
|
|
env:
|
|
|
|
|
- MATRIX_EVAL=""
|
|
|
|
|
- os: linux
|
|
|
|
|
dist: trusty # Ubuntu 14.04
|
|
|
|
|
sudo: false
|
|
|
|
|
language: python
|
|
|
|
|
python: '2.7'
|
|
|
|
|
env:
|
|
|
|
|
- MATRIX_EVAL=""
|
|
|
|
|
- os: linux
|
|
|
|
|
dist: trusty # Ubuntu 14.04
|
|
|
|
|
sudo: false
|
|
|
|
|
language: python
|
2018-07-31 23:55:47 +02:00
|
|
|
python: '2.6'
|
2018-07-19 23:31:31 +02:00
|
|
|
env:
|
|
|
|
|
- MATRIX_EVAL=""
|
|
|
|
|
- os: linux
|
|
|
|
|
dist: trusty # Ubuntu 14.04
|
|
|
|
|
sudo: false
|
|
|
|
|
language: python
|
2018-07-31 23:55:47 +02:00
|
|
|
python: '3.3'
|
2018-07-19 23:31:31 +02:00
|
|
|
env:
|
|
|
|
|
- MATRIX_EVAL=""
|
|
|
|
|
- os: linux
|
|
|
|
|
dist: trusty # Ubuntu 14.04
|
|
|
|
|
sudo: false
|
|
|
|
|
language: python
|
2018-07-31 23:55:47 +02:00
|
|
|
python: '3.4'
|
2018-07-19 23:31:31 +02:00
|
|
|
env:
|
|
|
|
|
- MATRIX_EVAL=""
|
|
|
|
|
- os: linux
|
|
|
|
|
dist: trusty # Ubuntu 14.04
|
|
|
|
|
sudo: false
|
2018-07-19 23:44:48 +02:00
|
|
|
language: python
|
2018-07-31 23:55:47 +02:00
|
|
|
python: '3.5'
|
2018-07-17 21:47:30 +02:00
|
|
|
env:
|
|
|
|
|
- MATRIX_EVAL=""
|
2018-07-16 07:53:10 +02:00
|
|
|
|
|
|
|
|
before_install:
|
2018-07-17 05:01:49 +02:00
|
|
|
- env
|
2018-07-17 17:49:26 +02:00
|
|
|
- rvm install ruby --latest
|
2018-07-17 04:26:17 +02:00
|
|
|
- gem install dropbox-deployment
|
2018-08-02 07:14:19 +02:00
|
|
|
- eval "${MATRIX_EVAL}"
|
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" && ! -x "$(command -v pip)" ]]; then sudo easy_install pip; fi
|
2018-08-02 06:55:18 +02:00
|
|
|
- pip --version
|
2018-08-02 07:22:46 +02:00
|
|
|
- sudo pip install --upgrade pip
|
2018-08-02 06:55:18 +02:00
|
|
|
- pip --version
|
|
|
|
|
- pip install --upgrade setuptools wheel
|
2018-07-20 00:34:28 +02:00
|
|
|
- python -c "import distutils.sysconfig as sysconfig; print(sysconfig.__file__)"
|
2018-07-16 07:53:10 +02:00
|
|
|
|
|
|
|
|
install:
|
2018-07-19 23:00:32 +02:00
|
|
|
- python setup.py build
|
|
|
|
|
- python setup.py bdist_wheel
|
2018-07-19 23:31:31 +02:00
|
|
|
- python setup.py install
|
2018-07-17 21:47:30 +02:00
|
|
|
|
2018-07-16 07:53:10 +02:00
|
|
|
script:
|
2018-07-19 23:00:32 +02:00
|
|
|
- python -c 'import klayout.db as db; print(dir(db))'
|
|
|
|
|
- python -c 'import klayout.rdb as rdb; print(dir(rdb))'
|
|
|
|
|
- python -c 'import klayout.tl as tl; print(dir(tl))'
|
2018-07-17 21:47:30 +02:00
|
|
|
|
2018-07-17 04:26:17 +02:00
|
|
|
after_success:
|
|
|
|
|
- dropbox-deployment
|