mirror of https://github.com/KLayout/klayout.git
44 lines
1.2 KiB
YAML
44 lines
1.2 KiB
YAML
matrix:
|
|
include:
|
|
- os: linux
|
|
dist: trusty # Ubuntu 14.04
|
|
sudo: true
|
|
env:
|
|
- MATRIX_EVAL=""
|
|
- os: osx
|
|
osx_image: xcode9.3 # macOS 10.13
|
|
env:
|
|
- MATRIX_EVAL=""
|
|
- os: osx
|
|
osx_image: xcode8.3 # macOS 10.12
|
|
env:
|
|
- MATRIX_EVAL=""
|
|
- os: osx
|
|
osx_image: xcode8 # macOS 10.11
|
|
env:
|
|
- MATRIX_EVAL=""
|
|
|
|
before_install:
|
|
- env
|
|
- rvm install ruby --latest
|
|
- gem install dropbox-deployment
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install python3-setuptools; fi
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo pip install wheel; fi
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew bundle; fi
|
|
- eval "${MATRIX_EVAL}"
|
|
|
|
install:
|
|
- python3 setup.py build
|
|
- python3 setup.py bdist_wheel
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then python3 setup.py install; fi
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo python3 setup.py install; fi
|
|
|
|
script:
|
|
- python3 -c 'import klayout.db as db; print(dir(db))'
|
|
- python3 -c 'import klayout.rdb as rdb; print(dir(rdb))'
|
|
- python3 -c 'import klayout.tl as tl; print(dir(tl))'
|
|
|
|
after_success:
|
|
- dropbox-deployment
|