Skip to content

Commit

Permalink
travis modified
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Müller committed Apr 27, 2015
1 parent 1097887 commit 7bdec0a
Showing 1 changed file with 5 additions and 25 deletions.
30 changes: 5 additions & 25 deletions .travis.yml
@@ -1,22 +1,15 @@
#os:
#- osx
language: objective-c
python:
- '2.7'
before_install:
- which python
#- brew update
#- brew outdated xctool || brew upgrade xctool
#- brew install readline sqlite gdbm makedepend openssl
- brew install python --universal --framework
#- brew install python --universal
#- brew install python --universal --framework
- which python
- VERSIONER_PYTHON_PREFER_32_BIT=yes #arch -i386 #/usr/local/opt/python/bin/python2.7
- export VERSIONER_PYTHON_PREFER_32_BIT=yes
- which python
- brew install wxpython
- python --version
- brew install wxpython --universal
- python -c "import wx; print wx.__version__"
- pip install -U py2app
- pip install pyinstaller
- pyinstaller --noconsole --onefile hw.py
- ls
Expand All @@ -25,27 +18,14 @@ before_install:
- zip -r dist/hw.zip dist/hw.app
install: true
deploy:
skip_cleanup: true
provider: releases
api_key:
secure: VK1oVWQCRomgcFNVua00B3YSsotezzU1p6/fh73/0vwQFzVMolVnAsnfSq6EAwIcJvakU0TI9pqZR+0S3PKnUs+Kn3Ar8OwQ88t2azZNwewBfKua3tM2/7BF4y7O0gOtN1F29Yxyu0zPInIVY17BqGygibQ1kthBTm+tj3YyNW8=
secure: KjdN4hSHWU3ZDg6lpDNMB2we9jLayM9C8pwyQrV/Xzq8HNH5eNHP8ScI64tvnS0yJegOXnHFwUhUrkMtEs3X29TKrom+8tJ5E52IdBO7xO8fqOfeugC2239vLzc3tNI6RJX/K7CZTsSRu5U++1RJVgcWYjrCln87DuXG+HZRdOI=
file:
- "dist/hw"
- "dist/hw.dmg"
- "dist/hw.zip"
on:
tags: true
all_branches: true
repo: BjornFJohansson/macapp

#brew install python --universal

#http://stackoverflow.com/questions/19403532/run-python-32-bit-and-python-64-bit-in-separate-virtual-environments-homebrew-i
#http://stackoverflow.com/questions/2088569/how-do-i-force-python-to-be-32-bit-on-snow-leopard-and-other-32-bit-64-bit-quest

# http://stackoverflow.com/questions/25961639/where-is-travis-ci-expecting-the-artifacts-on-deployment
# http://stackoverflow.com/questions/19607894/how-to-get-travis-ci-to-build-and-test-xcode-projects-hosted-on-github
# https://travis-ci.org/chrissearle/web-hello-world
# http://pythonhosted.org/PyInstaller/#options-for-mac-os-x-apps
# hdiutil create ./dist/FileExplorer.dmg -srcfolder ./dist/ -ov
# http://munkymorgy.blogspot.pt/2009/01/create-dmg-files-from-command-line.html
repo: paulmueller/macapp

0 comments on commit 7bdec0a

Please sign in to comment.