Redo travis config in line with modern options
This commit is contained in:
parent
94637bb65d
commit
c4fa7f7a9a
15
.travis.yml
15
.travis.yml
@ -1,21 +1,22 @@
|
||||
matrix:
|
||||
# These two are defaults, which get overriden by the jobs matrix
|
||||
language: minimal
|
||||
os: linux
|
||||
|
||||
jobs:
|
||||
include:
|
||||
- language: objective-c
|
||||
os: osx
|
||||
osx_image: xcode8.3
|
||||
- language: bash
|
||||
sudo: required
|
||||
dist: xenial
|
||||
os: linux
|
||||
env: BUILD_DESTINATION=snapcraft
|
||||
- language: python
|
||||
sudo: required
|
||||
os: linux
|
||||
dist: xenial
|
||||
python: 3.6
|
||||
env: BUILD_DESTINATION=appimage
|
||||
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
|
||||
script:
|
||||
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then python3 buildPy2app.py py2app ; fi
|
||||
- if [ "$TRAVIS_OS_NAME" == "linux" ] && [ "$BUILD_DESTINATION" == "snapcraft" ]; then sudo snapcraft cleanbuild ; fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user