-
Notifications
You must be signed in to change notification settings - Fork 241
/
Copy path.travis.yml
40 lines (32 loc) · 1.38 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Run os x builds on travis-ci.org
os: osx
language: generic
osx_image: xcode9
env:
- HOMEBREW_NO_AUTO_UPDATE=1
before_install:
# Install python
- eval "$(pyenv init -)"
- pyenv install --list
- env PYTHON_CONFIGURE_OPTS="--enable-framework" pyenv install 3.6.2
- pyenv local 3.6.2
# Install libusb
- brew install libusb || brew upgrade libusb
install:
# Install dependencies
- pip install -r requirements.txt
# Log versions
- python --version
- pip list --format=legacy
script:
# Run pyinstaller
- pyinstaller pmca-console.spec
- pyinstaller pmca-gui.spec
deploy:
# Deploy tagged releases
provider: releases
api_key: {secure: PWMg2dhPJgK4mww9yJcz3myo6oZwSMZU+2MvwDnvMvdZTaUPexHeiszX7RwBpzLNgPB+uJ7dgnjYJLm+LhgVgmeOhioIw9GDzVaC0rwfVVp94Q1tTHoXNlaDAfXQobY5p5avdjA2lSpvTuMDeiuAz2synsU5xmEcVbnhMtoMi8bsm4Nly63519yNkjyaYQU6BKR1lpHy9fh952YFcL2f4vRMYeq2aB3YLBCP1n9AkuocNEXoP+U03Ol+NpMWYcwBJGDunDo7dXkXSlBN5H4Re8JhAcKxfbuvnlkgb+bm+0OyOl0ePHPLOvShxeQlnI6A8NdmBBHLPBE2IIJw4pkhiU5wXvt70/teJLzww/90jNUNw+O7Z4e+HdBCLGENv4c9TnDnqU1RJKmcnWxWIbUNuCAzIsT5NGY7/lrOvlNJTVJ8O/dfmE/mRcGTJsXZyGEviysiLax56mRK4K07l0d5g6giPk0DadIBkANoBKzp4NDeB1E8VC7p0tAJZ1MaYHK8qEGelgtEFxnQm3NVnMv8tLZZEKLPCwgTJZTnyX+oJ/UxfHqO23hw+ntpRL9+dlLQouKnck+FEmGwYUUmIRfzGA21jpBprahEXENtn0efSd0fbYG0PvkrQRA/C4QuLOTkYgWJHWO+9dOww21rJ7YY4sp5yRMeXaBYj1zglUxyecY=}
file_glob: true
file: dist/*
skip_cleanup: true
on: {tags: true}