2014-01-18 21:36:15 +01:00
|
|
|
language: cpp
|
|
|
|
|
compiler: gcc
|
2020-01-17 16:55:07 +01:00
|
|
|
dist: xenial
|
2016-05-14 21:49:32 +02:00
|
|
|
sudo: required
|
2017-03-22 11:28:08 +01:00
|
|
|
cache:
|
|
|
|
|
directories:
|
2019-02-25 19:06:01 +01:00
|
|
|
- $HOME/apt_mingw_cache
|
2017-03-22 11:28:08 +01:00
|
|
|
- $HOME/.ccache
|
2018-12-09 11:19:15 +01:00
|
|
|
- $HOME/pbuilder-bases
|
2015-01-16 00:04:09 +01:00
|
|
|
matrix:
|
|
|
|
|
include:
|
2017-03-31 19:23:45 +02:00
|
|
|
- env: TYPE=style
|
2017-12-23 02:23:32 -05:00
|
|
|
- os: linux
|
2019-01-03 21:44:49 +01:00
|
|
|
- env: TARGET_OS=debian-sid TARGET_DEPLOY=True
|
2019-03-07 06:32:23 +01:00
|
|
|
git:
|
|
|
|
|
depth: false
|
2018-12-19 12:45:33 +01:00
|
|
|
- env: TARGET_OS=debian-sid TARGET_ARCH=i386
|
2019-03-13 23:27:54 +01:00
|
|
|
git:
|
|
|
|
|
depth: false
|
2018-12-27 20:15:42 +01:00
|
|
|
- compiler: clang
|
|
|
|
|
env: TARGET_OS=debian-sid
|
2019-03-13 23:27:54 +01:00
|
|
|
git:
|
|
|
|
|
depth: false
|
2017-01-02 17:14:52 -05:00
|
|
|
- os: osx
|
2019-10-22 11:30:36 +09:00
|
|
|
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
|
2018-12-09 11:19:15 +01:00
|
|
|
before_deploy:
|
2019-01-14 09:47:34 +01:00
|
|
|
- if [ "$TARGET_OS" != debian-sid ]; then make package; fi
|
2014-11-16 14:51:20 +01:00
|
|
|
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
|
2017-01-06 00:49:07 +01:00
|
|
|
skip_cleanup: true
|
2014-11-16 14:51:20 +01:00
|
|
|
on:
|
|
|
|
|
tags: true
|
|
|
|
|
all_branches: true
|
2019-01-03 21:44:49 +01:00
|
|
|
condition: '"$TARGET_DEPLOY" = True'
|
2014-11-16 14:51:20 +01:00
|
|
|
repo: LMMS/lmms
|