forked from VirtualGL/virtualgl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
71 lines (65 loc) · 5.18 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
language: c
branches:
except:
- /^[0-9]+\.[0-9]+$/
- /^[0-9]+\.[0-9]+\.[0-9]+/
- /^[0-9]+\.[0-9]+beta[0-9]/
env:
global:
- LJT_VERSION=2.0.3
- LJT_URL=https://sourceforge.net/projects/libjpeg-turbo/files/$LJT_VERSION
- LJT_GPG_KEY=https://sourceforge.net/projects/libjpeg-turbo/files/LJT-GPG-KEY
matrix:
include:
- os: linux
sudo: required
services:
- docker
before_install:
- docker pull dcommander/buildvgl &&
git clone --depth=1 https://github.com/VirtualGL/buildscripts.git ~/src/buildscripts &&
if [ -n "$encrypted_117e2616a15a_iv" ]; then
openssl aes-256-cbc -K $encrypted_117e2616a15a_key -iv $encrypted_117e2616a15a_iv -in ci/keys.enc -out ci/keys -d &&
tar xf ci/keys &&
rm ci/keys &&
mv ci/gpgsign ~/src/buildscripts &&
gpg --import ci/sign_vgl &&
rm ci/sign_vgl;
fi &&
mkdir ~/libjpeg-turbo-rpm &&
pushd ~/libjpeg-turbo-rpm &&
wget --no-check-certificate $LJT_URL/libjpeg-turbo-official-$LJT_VERSION.x86_64.rpm $LJT_URL/libjpeg-turbo-official-$LJT_VERSION.i386.rpm &&
popd
script:
- mkdir -p ~/src/vgl.nightly &&
mkdir $HOME/rpmkeys &&
wget --no-check-certificate "$LJT_GPG_KEY" -O $HOME/rpmkeys/LJT-GPG-KEY &&
wget --no-check-certificate http://www.virtualgl.org/key/VGLPR-GPG-KEY -O $HOME/rpmkeys/VGLPR-GPG-KEY &&
docker run -v $HOME/src/vgl.nightly:/root/src/vgl.nightly -v $HOME/src/buildscripts:/root/src/buildscripts -v $TRAVIS_BUILD_DIR:/root/src/virtualgl -v $HOME/.gnupg:/root/.gnupg -v $HOME/libjpeg-turbo-rpm:/rpms -v $HOME/rpmkeys:/rpmkeys -t dcommander/buildvgl:$TRAVIS_BRANCH bash -c "rpm --import /rpmkeys/LJT-GPG-KEY && rpm -K /rpms/*.rpm && rpm -i /rpms/*.rpm && rpm --import /rpmkeys/VGLPR-GPG-KEY && ~/src/buildscripts/buildvgl -d /root/src/virtualgl -v" &&
sudo chown -R travis:travis ~/src/vgl.nightly &&
mv ~/src/vgl.nightly/latest/log-$TRAVIS_OS_NAME.txt ~/src/vgl.nightly/latest/files/
deploy:
- provider: s3
bucket: virtualgl-pr
access_key_id:
secure: ue2EFn4KF73lvfyaAB/9uy+zb5EoAv8Pe4wnCbMIPotXfnPKiKwZdPLjmmH/eMJxvjZL+uV26tgLfD6P3uu4j+B7dHIHprXu5xnUSjjPw3ClTMBe8W/xmob4FoMT9gkTo/ne4sKKBQ2G93ilttL5Y/GKqvK3MRONOWL2TRXRiH4FMsUPgfbAhOEXpjgrstuQaq+Xulj5+yQhcPet1BgAqVPAhiJTPE2Gx5ld7inSZlDJXErFzNJbMItTCK+6o79O7VCbGqIJb20zx/gywdCZmm5yyqR+KeI0f2DtpaBqd0gN6L53bIMg3axx+TEInPNx+LBZuzX6Syxb5j0gWYuIknZ3/sDftXKEplky0lh7cblFYvyqhwIHlxRcpDqtRNsIxc5NmXXyvE4Qs3zSETGagDA3w8pT1w2/+rXF02dwGSpWiUrbMXj1tcENwZT3cUxYklrQuqHSVPOM+ODzd+0ICEkcOo9e/99pnkSp+GJWp5iBAX2YhS39ggTYPkautfvwtLv+UJJBc3tAsXwzGpQMtEtKFGY4xJ7QDqoBLyA0B6q0WkYKtEedn7L7HMfU66bpY7jYwzdduWPwPI12brrpB7d6s3QNmnHSjcivqF0pDuDTNzPCqfaDCuHpGQ9gJhSq56AxDuRN7tuc4B6mE2/lJjlc91tb9ViNNVl2ARUCNvQ=
secret_access_key:
secure: GXCzkE7X4HvDmXlynjG3PNk1G6Zs/z/+00DUfFZTKFkL3qREWRMAQTrMD0pbvjaxNnui4qHzX4uTCQBnKEOZiiCff46sApj6ySm3EGb2DNPWj5bavmxvG2HXNIsgTPBP+uZn9nk7HDABQTgBoYqbdmpeOe3ih3XsnwId93R7pttnbDcmMnnoJ0rj/pSImhAfsQHki4GtH5IG7mTEOFQ27gEgum0IKlhZAZKh2TWrJ6zYi86KE3lTHxu5djjLDSL8KxePZl5PwfVyUpOjC9lyqHkBegJEMoe619kNyrHpdKq88ZScAjmrdJV209RtBmNzQ+QCtJ6jYiCwWs8K6WopdCxhQGOW8ZwEJvmjkjkXe6yH9f2kC5009hX9Zvm32IMFGbDloDRJdoHR3C3JTE3kSqlJ8wBsF5vFQsGQ4VqXeTMELnQicPIQQtdCfxcjY28TSKJdq+WdR6YC72IIgvgaP4LiWJ5sTUk0rYX5h1Ttwx3pmp7B+YaXSdm7LBPZEEEpJF8/FVTBLELkB6z7mT0Ku74y2nJw4d8R+EW9wVOCjtk9Uyo/FDq37dgTzlzhUbomcBOI8XuPImatzpsk2nJpZy2JNn73rDVZOWpTMus/PP2q6Qf3AcTZqn7V/siWUcxrZZ80QL7QKOnCW/GQlVSrIpXVA0YwQ9QFQ1B3YEQAdt4=
acl: public_read
local-dir: $HOME/src/vgl.nightly/latest/files
upload-dir: $TRAVIS_BRANCH/$TRAVIS_OS_NAME
on:
repo: VirtualGL/virtualgl
branch: master
- provider: s3
bucket: virtualgl-pr
access_key_id:
secure: ue2EFn4KF73lvfyaAB/9uy+zb5EoAv8Pe4wnCbMIPotXfnPKiKwZdPLjmmH/eMJxvjZL+uV26tgLfD6P3uu4j+B7dHIHprXu5xnUSjjPw3ClTMBe8W/xmob4FoMT9gkTo/ne4sKKBQ2G93ilttL5Y/GKqvK3MRONOWL2TRXRiH4FMsUPgfbAhOEXpjgrstuQaq+Xulj5+yQhcPet1BgAqVPAhiJTPE2Gx5ld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WpTMus/PP2q6Qf3AcTZqn7V/siWUcxrZZ80QL7QKOnCW/GQlVSrIpXVA0YwQ9QFQ1B3YEQAdt4=
acl: public_read
local-dir: $HOME/src/vgl.nightly/latest/files
upload-dir: $TRAVIS_BRANCH/$TRAVIS_OS_NAME
on:
repo: VirtualGL/virtualgl
branch: dev