forked from pharo-graphics/Bloc
-
Notifications
You must be signed in to change notification settings - Fork 8
/
.travis.yml
53 lines (43 loc) · 1.28 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
language: smalltalk
sudo: true
smalltalk_edge:
source: feenkcom/smalltalkCI
branch: master
branches:
only:
- master
os:
- linux
- osx
smalltalk:
- Pharo-7.0
- Pharo64-7.0
matrix:
include:
- smalltalk: Pharo-7.0
smalltalk_config: minimal.ston
- smalltalk: Pharo-7.0
smalltalk_config: minimal+layout.ston
before_install:
- |
# Otherwise build on OSX stucks at unknown fingerprint question
echo -e "Host *\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
declare -r SSH_FILE="$(mktemp -u $HOME/.ssh/$GITHUB_SSH_FILE)"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
openssl aes-256-cbc \
-K $encrypted_b54d1cff7fb3_key \
-iv $encrypted_b54d1cff7fb3_iv \
-in ".travis/travis_id_rsa.enc" \
-out "$SSH_FILE" -d
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Enable SSH authentication
chmod 600 "$SSH_FILE" \
&& printf "%s\n" \
"Host github.com" \
" IdentityFile $SSH_FILE" \
" LogLevel ERROR" >> ~/.ssh/config
before_script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
export DISPLAY=:99.0;
sh -e /etc/init.d/xvfb start;
fi