Files
lmms/.travis.yml

48 lines
1.4 KiB
YAML
Raw Normal View History

language: cpp
compiler: gcc
2016-05-14 21:49:32 +02:00
dist: trusty
sudo: required
cache:
directories:
- $HOME/apt_mingw_cache
- $HOME/.ccache
- $HOME/pbuilder-bases
2015-01-16 00:04:09 +01:00
matrix:
include:
2017-03-31 19:23:45 +02:00
- env: TYPE=style
- os: linux
2019-01-03 21:44:49 +01:00
- env: TARGET_OS=debian-sid TARGET_DEPLOY=True
git:
depth: false
2018-12-19 12:45:33 +01:00
- env: TARGET_OS=debian-sid TARGET_ARCH=i386
git:
depth: false
- compiler: clang
env: TARGET_OS=debian-sid
git:
depth: false
- os: osx
osx_image: xcode9.4
2019-06-12 17:42:24 +09:00
before_install:
# appdmg doesn't work with old Node.js
- if [ "$TRAVIS_OS_NAME" = osx ]; then nvm install 10; fi
2017-03-31 19:23:45 +02:00
install: ${TRAVIS_BUILD_DIR}/.travis/install.sh
script: ${TRAVIS_BUILD_DIR}/.travis/script.sh
after_script: ${TRAVIS_BUILD_DIR}/.travis/after_script.sh
before_deploy:
2019-01-14 09:47:34 +01:00
- if [ "$TARGET_OS" != debian-sid ]; then make package; fi
deploy:
provider: releases
api_key:
secure: d4a+x4Gugpss7JK2DcHjyBZDmEFFh4iVfKDfITSD50T6Mc6At4LMgojvEu+6qT6IyOY2vm3UVT6fhyeuWDTRDwW9tfFlaHVA0h8aTRD+eAXOA7pQ8rEMwQO3+WCKuKTfEqUkpL4wxhww8dpkv54tqeIs0S4TBqz9tk8UhzU7XbE=
2019-01-03 21:44:49 +01:00
file_glob: true
file:
- lmms-${TRAVIS_TAG:1}-$TARGET_OS.exe
- /var/cache/pbuilder/result/lmms_*.tar.xz
skip_cleanup: true
on:
tags: true
all_branches: true
2019-01-03 21:44:49 +01:00
condition: '"$TARGET_DEPLOY" = True'
repo: LMMS/lmms