This repository has been archived by the owner on Nov 14, 2017. It is now read-only.
forked from luisfranciscocesar/Jentos_IDE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
executable file
·45 lines (45 loc) · 4.83 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
branches:
only:
- master
- stable
language: cpp
before_install:
- cd ..
- mkdir scripts
- cd scripts
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
sudo apt-get update
&& sudo apt-get install curl
&& curl -O https://raw.githubusercontent.com/malublu/Jentos_IDE-Buildscripts/master/linux/before_install.sh
&& curl -O https://raw.githubusercontent.com/malublu/Jentos_IDE-Buildscripts/master/linux/install.sh
&& curl -O https://raw.githubusercontent.com/malublu/Jentos_IDE-Buildscripts/master/linux/script.sh
;
else
curl -O https://raw.githubusercontent.com/malublu/Jentos_IDE-Buildscripts/master/osx/before_install.sh
&& curl -O https://raw.githubusercontent.com/malublu/Jentos_IDE-Buildscripts/master/osx/install.sh
&& curl -O https://raw.githubusercontent.com/malublu/Jentos_IDE-Buildscripts/master/osx/script.sh
;
fi
- chmod +x before_install.sh
- chmod +x install.sh
- chmod +x script.sh
- ./before_install.sh
install:
- ./install.sh
script:
- cd $TRAVIS_BUILD_DIR
- ../scripts/script.sh
os:
- linux
- osx
env:
global:
- secure: "cjShmZqMGQcGmstN+LeCK7T2/IBOYjFHASEG4orzio38oeDWLHfr5dDJrt32PWk/UjLW2hU+7+5CUaAymXQxhrNCRPkHqodULCO1F0Avs+jKnxVudQe9hJDWYx5RQs6jZKt1xOruVFE8XkU4E3jgCSjfYQu3MZkADya6jp6YzE5Yq5y5Hy5MXAhx7nPEaPE1276JqckWoZwMl3lfWdQxesgDTaPFc94cidUxYSHtVCjuiHiGgewZ5jr6T4MI9mJYu8S02tkbiYDTKCngnVLn/wHtmXpmX5wiaooqSYtRbjp/c5OQs+S2PSX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p -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -P $DEPLOY_PORT $TRAVIS_OS_NAME-$TRAVIS_COMMIT-$TRAVIS_BRANCH.zip $DEPLOY_USER@$DEPLOY_HOST:$DEPLOY_PATH