forked from CarVac/librtprocess
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (29 loc) · 1.32 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
language: generic
os: linux
dist: trusty
compiler: g++
sudo: required
services: docker
env:
- TARGET_PROJECT=RawTherapee
before_script:
- cd /tmp
- git clone https://github.com/${TRAVIS_REPO_SLUG}.git --branch ci --single-branch librtprocess-ci
- cp -a librtprocess-ci/ci-scripts "$TRAVIS_BUILD_DIR"
- cd "$TRAVIS_BUILD_DIR"
- sudo docker run -it -v $(pwd):/sources -e "LIBRT_BRANCH=$TRAVIS_BRANCH" -e "TARGET_PROJECT=$TARGET_PROJECT" centos:7 bash /sources/ci-scripts/build-appimages.sh
after_success:
- cd $TRAVIS_BUILD_DIR
- pwd
- ls -lh
- ls -lh out/* # Assuming you have some files in out/ that you would like to upload
#- wget -c https://github.com/aferrero2707/uploadtool/raw/master/remove.sh
#- TRAVIS_REPO_SLUG="Beep6581/RawTherapee" bash ./remove.sh "nightly" "RawTherapee-${RT_BRANCH}-" ".AppImage"
- wget -c https://github.com/aferrero2707/uploadtool/raw/master/upload_rotate.sh
- bash ./upload_rotate.sh "continuous" out/* >& /dev/null
#- TRAVIS_REPO_SLUG="Beep6581/RawTherapee" bash ./upload_rotate.sh "nightly" out/* >& /dev/null
#- TRAVIS_REPO_SLUG="Beep6581/RawTherapee" bash ./upload_rotate.sh "nightly" $TRAVIS_BUILD_DIR/RawTherapee/commit-${RT_BRANCH}.hash >& /dev/null
branches:
except:
- # Do not build tags that we create when we upload to GitHub Releases
- /^(?i:continuous)$/