Skip to content

Commit

Permalink
Now builds all pyinstaller specs, nightly added as allowed failure, a…
Browse files Browse the repository at this point in the history
…nd submodule updates!
  • Loading branch information
ErikBjare committed Jul 28, 2016
1 parent 8659fc5 commit a830fa8
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 11 deletions.
16 changes: 11 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@

language: python
python:
# - "3.3"
# - "3.4"
- "3.5"
- "nightly" # currently points to 3.6-dev
matrix:
include:
- python: "3.5"
- python: "nightly"
allow_failures:
# Doesn't currently work with pyinstaller
- python: "nightly"

before_install:
- "pip install pyinstaller"

install:
- "./install.sh --noroot"

script:
- "./integration_tests.sh"
- "./build.sh"
2 changes: 1 addition & 1 deletion aw-client
Submodule aw-client updated 2 files
+0 −1 .travis.yml
+8 −2 setup.py
2 changes: 1 addition & 1 deletion aw-watcher-afk
2 changes: 1 addition & 1 deletion aw-watcher-macos
Submodule aw-watcher-macos updated 3 files
+14 −0 .travis.yml
+2 −2 README.md
+0 −69 main.py
2 changes: 1 addition & 1 deletion aw-watcher-x11
2 changes: 1 addition & 1 deletion aw-webui
20 changes: 19 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,24 @@

PYINSTALL_TARGETS=$(find -maxdepth 2 | egrep 'aw-.*/.*\.spec')

echo "PyInstaller .spec files found"
for target in $PYINSTALL_TARGETS; do
pyinstaller $target
echo " - $target";
done
rm -rf dist build

for target in $PYINSTALL_TARGETS; do
target_dir=$(dirname $target)

echo
echo "-------------------------------------"
echo "Building $target_dir"
pyinstaller $target --onefile --clean
done

echo
echo "-------------------------------------"
echo "Contents of ./dist"
ls -l dist
echo "-------------------------------------"

0 comments on commit a830fa8

Please sign in to comment.