diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 29 |
1 files changed, 10 insertions, 19 deletions
diff --git a/.travis.yml b/.travis.yml index aacaa77..977b0df 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,31 +1,22 @@ matrix: include: - - os: linux - language: python - python: 3.6 - dist: trusty - sudo: required - os: osx language: generic osx_image: xcode6.4 before_install: -- if [ "$TRAVIS_OS_NAME" == "linux" ] ; then sudo apt-get -y install ruby ruby-dev ; fi -- if [ "$TRAVIS_OS_NAME" == "linux" ] ; then pip install --upgrade pip setuptools wheel ; fi -- if [ "$TRAVIS_OS_NAME" == "linux" ] ; then openssl aes-256-cbc -K $encrypted_a95564d8ff0d_key -iv $encrypted_a95564d8ff0d_iv -in other/linux/sentry.py.enc -out kindlecomicconverter/sentry.py -d ; fi -- if [ "$TRAVIS_OS_NAME" == "osx" ] ; then brew update ; fi -- if [ "$TRAVIS_OS_NAME" == "osx" ] ; then brew install python3 ; fi -- if [ "$TRAVIS_OS_NAME" == "osx" ] ; then travis_wait 30 brew upgrade node ; fi -- if [ "$TRAVIS_OS_NAME" == "osx" ] ; then pip3 install --upgrade pip setuptools wheel ; fi -- if [ "$TRAVIS_OS_NAME" == "osx" ] ; then openssl aes-256-cbc -K $encrypted_a95564d8ff0d_key -iv $encrypted_a95564d8ff0d_iv -in other/osx/sentry.py.enc -out kindlecomicconverter/sentry.py -d ; fi +- brew update +- brew install python3 +- brew uninstall node +- travis_wait 30 brew install node@6 +- brew link node@6 --force --overwrite +- pip3 install --upgrade pip setuptools wheel +- openssl aes-256-cbc -K $encrypted_a95564d8ff0d_key -iv $encrypted_a95564d8ff0d_iv -in other/osx/sentry.py.enc -out kindlecomicconverter/sentry.py -d install: -- if [ "$TRAVIS_OS_NAME" == "linux" ] ; then pip install -r requirements.txt ; fi -- if [ "$TRAVIS_OS_NAME" == "linux" ] ; then pip install certifi PyInstaller ; fi -- if [ "$TRAVIS_OS_NAME" == "linux" ] ; then gem install fpm ; fi -- if [ "$TRAVIS_OS_NAME" == "osx" ] ; then pip3 install -r requirements.txt ; fi -- if [ "$TRAVIS_OS_NAME" == "osx" ] ; then pip3 install certifi PyInstaller ; fi -- if [ "$TRAVIS_OS_NAME" == "osx" ] ; then npm install -g appdmg ; fi +- pip3 install -r requirements.txt +- pip3 install certifi https://github.com/bjones1/pyinstaller/archive/pyqt5_fix.zip +- npm install -g appdmg script: python3 setup.py build_binary |