mirror of https://github.com/KLayout/klayout.git
Use apt to install setuptools instead of pip
This commit is contained in:
parent
0b2e56fcbf
commit
ebae966237
|
|
@ -2,7 +2,7 @@ matrix:
|
||||||
include:
|
include:
|
||||||
- os: linux
|
- os: linux
|
||||||
dist: trusty # Ubuntu 14.04
|
dist: trusty # Ubuntu 14.04
|
||||||
sudo: false
|
sudo: true
|
||||||
env:
|
env:
|
||||||
- MATRIX_EVAL=""
|
- MATRIX_EVAL=""
|
||||||
- os: osx
|
- os: osx
|
||||||
|
|
@ -22,12 +22,12 @@ before_install:
|
||||||
- env
|
- env
|
||||||
- rvm install ruby --latest
|
- rvm install ruby --latest
|
||||||
- gem install dropbox-deployment
|
- gem install dropbox-deployment
|
||||||
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install python3-setuptools; fi
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew bundle; fi
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew bundle; fi
|
||||||
- eval "${MATRIX_EVAL}"
|
- eval "${MATRIX_EVAL}"
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then pip3 install --user setuptools; fi
|
|
||||||
- python3 setup.py build
|
- python3 setup.py build
|
||||||
- python3 setup.py install
|
- python3 setup.py install
|
||||||
- python3 setup.py bdist_wheel
|
- python3 setup.py bdist_wheel
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue