..
This commit is contained in:
+29
-36
@@ -1,47 +1,40 @@
|
|||||||
language: rust
|
language: python
|
||||||
rust:
|
matrix:
|
||||||
- nightly
|
|
||||||
jobs:
|
|
||||||
include:
|
include:
|
||||||
- os: linux
|
- name: Linux
|
||||||
dist: xenial
|
os : linux
|
||||||
python: 3.7
|
sudo: required
|
||||||
script:
|
install:
|
||||||
- sudo add-apt-repository ppa:deadsnakes/ppa -y
|
- sudo apt-get install python3-venv
|
||||||
- sudo apt-get update
|
- alias python3=python
|
||||||
- sudo apt upgrade || true
|
- alias pip="python3 -m pip"
|
||||||
- sudo apt-get install -y python3.7 libpython3.7-dev python3.7-venv || true
|
env:
|
||||||
- python3.7 -m venv env
|
- PATH=$PATH:/home/travis/virtualenv/python3.6.7/bin
|
||||||
- . env/bin/activate
|
|
||||||
- python -m pip install -v -r application/requirements.txt
|
|
||||||
- pyinstaller -F -w -i assets/albion-stats-icon.ico --add-data application/src/assets:src/assets application/albion-online-stats.py
|
|
||||||
- deactivate
|
|
||||||
before_deploy:
|
before_deploy:
|
||||||
- cp dist/albion-online-stats albion-online-stats-linux
|
- cp dist/albion-online-stats albion-online-stats-linux
|
||||||
deploy:
|
- name: macOS
|
||||||
provider: releases
|
os: osx
|
||||||
api_key:
|
language: generic
|
||||||
secure: $GITHUB_TOKEN
|
|
||||||
file:
|
|
||||||
- albion-online-stats-linux
|
|
||||||
skip_cleanup: true
|
|
||||||
on:
|
|
||||||
tags: true
|
|
||||||
- os: osx
|
|
||||||
script:
|
|
||||||
- python3 -m venv env
|
|
||||||
- . env/bin/activate
|
|
||||||
- pip install -v -r application/requirements.txt
|
|
||||||
- pyinstaller -F -w -i assets/albion-stats-icon.ico --add-data application/src/assets:src/assets application/albion-online-stats.py
|
|
||||||
- deactivate
|
|
||||||
before_deploy:
|
before_deploy:
|
||||||
- cp dist/albion-online-stats albion-online-stats-osx
|
- cp dist/albion-online-stats albion-online-stats-osx
|
||||||
deploy:
|
|
||||||
|
script:
|
||||||
|
- python3 --version
|
||||||
|
- pip --version
|
||||||
|
- python3 -m venv env
|
||||||
|
- . env/bin/activate
|
||||||
|
- python3 --version
|
||||||
|
- python3 -m pip --version
|
||||||
|
- python3 -m pip install -r requirements.txt
|
||||||
|
- pyinstaller -F -w -i assets/albion-stats-icon.ico --add-data src/assets:src/assets albion-online-stats.py
|
||||||
|
- deactivate
|
||||||
|
|
||||||
|
deploy:
|
||||||
provider: releases
|
provider: releases
|
||||||
api_key:
|
api_key:
|
||||||
secure: $GITHUB_TOKEN
|
secure: $GITHUB_TOKEN
|
||||||
file:
|
file_glob: true
|
||||||
- albion-online-stats-osx
|
file: albion-online-stats-*
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
on:
|
on:
|
||||||
tags: true
|
tags: true
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
pyside2~=5.13
|
pyside2~=5.13
|
||||||
pyinstaller
|
pyinstaller~=3.6
|
||||||
toml~=0.10
|
toml~=0.10
|
||||||
requests~=2.22
|
requests~=2.22
|
||||||
Pillow~=6.2
|
Pillow~=6.2
|
||||||
|
|||||||
Reference in New Issue
Block a user