diff options
| author | Lex Neva <github.com@lexneva.name> | 2018-06-03 15:17:45 -0400 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2018-06-03 15:17:45 -0400 |
| commit | 977d16d342c7b5de9764d0a44259fed8ae74191c (patch) | |
| tree | 7ae6b582f16ac0bde9f7ba67500ac77b26c7f482 | |
| parent | 93d92322c9f66c24dfb247728ea686196dc325e4 (diff) | |
dammit, travis
| -rw-r--r-- | .travis.yml | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml index 6630a4ee..39b11b4f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -161,20 +161,22 @@ script: flake8 . --count --exit-zero --select=E901,E999,F821,F822,F823 --show-source --statistics --exclude=embroidermodder flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --exclude=embroidermodder elif [ "$BUILD" = "linux" -o "$BUILD" = "osx" ]; then - # it looks like one of travis's cd hooks fails - set +e + # something in travis's machinery breaks on OSX + [ "$BUILD" = "osx" ] && set +e + pushd embroidermodder/experimental - set -e qmake swigpython.pro make + if [ "$BUILD" = "osx" ]; then ln -s _libembroidery.dylib python/binding/_libembroidery.so install_name_tool -change /System/Library/Frameworks/Python.framework/Versions/2.7/Python /usr/local/opt/python2/Frameworks/Python.framework/Versions/2.7/Python python/binding/_libembroidery.dylib fi - set +x - make dist + popd + + make dist elif [ "$BUILD" = "windows" ]; then # work around some bug... pyinstaller? shapely? not sure. cp $(winepath 'C:\Python\lib\site-packages\shapely\DLLs\geos_c.dll') $(winepath 'C:\Python\lib\site-packages\shapely\DLLs\geos.dll') |
