Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

Commit

Permalink
CI enhancements
Browse files Browse the repository at this point in the history
  • Loading branch information
tweirtx committed May 4, 2019
1 parent 7d8c121 commit 32b9888
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ language: generic

sudo: required

dist: xenial

services:
- mysql
- postgresql
Expand All @@ -12,7 +14,7 @@ brew_packages:
apt_packages:
- libmysqlclient-dev

install: pyenv install 3.6.3 -s && pyenv global 3.6.3 && pip install -Ur requirements.txt
install: pyenv versions && pyenv install 3.6.3 -s && pyenv global 3.6.3 && pip install -Ur requirements.txt

jobs:
include:
Expand All @@ -35,10 +37,10 @@ jobs:
script: python3 -m timetracker --test
after_script: mysqldump --databases timetracking
- stage: deploy
script: pyinstaller -F timetracker.spec
script: build.sh
os: linux
- stage: deploy
script: pyinstaller -F timetracker.spec
script: build.sh
os: osx

notifications:
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
rm -rf build dist
pyinstaller -F timetracker.spec
dist/timetracker
dist/timetracker --test

0 comments on commit 32b9888

Please sign in to comment.