forked from jklockars/fVDI_from_0.958
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
76 lines (66 loc) · 2.95 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
language: c
addons:
apt:
packages:
- xutils-dev
env:
global:
- PROJECT_REPO=$(echo "${TRAVIS_REPO_SLUG}" | cut -d '/' -f 1)
- PROJECT_NAME=$(echo "${TRAVIS_REPO_SLUG}" | cut -d '/' -f 2)
- INSTALL_DIR="/tmp/${PROJECT_NAME}"
- DEPLOY_DIR="/tmp/${PROJECT_NAME}-deploy"
- BINTRAY_USER="mikrosk"
# BINTRAY_API_KEY is defined in Travis Settings of freemint/qed
- BINTRAY_REPO="app"
- BINTRAY_VERSION="0.96a"
matrix:
- CPU_TARGET=000
- CPU_TARGET=000 FT2_VERSION=2.2.1
- CPU_TARGET=000 FT2_VERSION=2.5.2
- CPU_TARGET=000 FT2_VERSION=2.8.1
- CPU_TARGET=000 FT2_VERSION=2.10.2
- CPU_TARGET=020
- CPU_TARGET=020 FT2_VERSION=2.2.1
- CPU_TARGET=020 FT2_VERSION=2.5.2
- CPU_TARGET=020 FT2_VERSION=2.8.1
- CPU_TARGET=020 FT2_VERSION=2.10.2
- CPU_TARGET=v4e PACF="/tmp/pacf/bin/pacf"
- CPU_TARGET=v4e FT2_VERSION=2.2.1 PACF="/tmp/pacf/bin/pacf"
- CPU_TARGET=v4e FT2_VERSION=2.5.2 PACF="/tmp/pacf/bin/pacf"
- CPU_TARGET=v4e FT2_VERSION=2.8.1 PACF="/tmp/pacf/bin/pacf"
- CPU_TARGET=v4e FT2_VERSION=2.10.2 PACF="/tmp/pacf/bin/pacf"
# If before_install, install or before_script return a non-zero exit code, the build is errored and stops immediately.
before_install:
- wget -q -O - https://github.com/freemint/travis-scripts/archive/master.tar.gz | tar xzf - --strip-components=1 -C .travis
# we want to have $FT2_VERSION in the filename
- if [ -n "${FT2_VERSION+x}" ]; then export PROJECT_VERSION="${BINTRAY_VERSION}-ft${FT2_VERSION}"; else export PROJECT_VERSION="${BINTRAY_VERSION}"; fi
- if [ -x .travis/before_install.sh ]; then ./.travis/before_install.sh; else true; fi
install:
- if [ -x .travis/install.sh ]; then ./.travis/install.sh; else true; fi
before_script:
- if [ -x .travis/before_script.sh ]; then ./.travis/before_script.sh; else true; fi
# If script returns a non-zero exit code, the build is failed, but continues to run before being marked as failed.
script:
- if [ -x .travis/script.sh ]; then ./.travis/script.sh; else true; fi
# The exit code of after_success, after_failure, after_script and subsequent stages do not affect the build result.
# However, if one of these stages times out, the build is marked as a failure.
after_success:
- if [ -x .travis/after_success.sh ]; then ./.travis/after_success.sh; else true; fi
after_failure:
- if [ -x .travis/after_failure.sh ]; then ./.travis/after_failure.sh; else true; fi
# A non-zero exit code in this phase will mark the build as errored.
before_deploy:
- if [ -x .travis/before_deploy.sh ]; then ./.travis/before_deploy.sh; else true; fi
deploy:
provider: bintray
file: ".travis/bintray.desc"
user: "${BINTRAY_USER}"
key: "${BINTRAY_API_KEY}"
skip_cleanup: true
on:
branch: master
repo: freemint/fvdi
after_deploy:
- if [ -x .travis/after_deploy.sh ]; then ./.travis/after_deploy.sh; else true; fi
after_script:
- if [ -x .travis/after_script.sh ]; then ./.travis/after_script.sh; else true; fi