forked from christopherpow/nesicide
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
40 lines (40 loc) · 1.03 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
os:
- linux
- osx
osx_image: xcode11.2
dist: xenial
language: cpp
branches:
only:
- master
before_install:
- ./build/spinner.sh start
- travis_wait 60 ./build/${TRAVIS_OS_NAME}-travis-setup.sh before_install
install:
- travis_wait 60 ./build/${TRAVIS_OS_NAME}-travis-setup.sh install
script:
- travis_wait 60 ./build/${TRAVIS_OS_NAME}-build.sh
- travis_wait 60 ./build/${TRAVIS_OS_NAME}-deploy.sh local
- ./build/spinner.sh stop
addons:
ssh_known_hosts: 162.243.126.83
before_deploy:
- openssl aes-256-cbc -K $encrypted_c3ea658420f4_key -iv $encrypted_c3ea658420f4_iv -in deploy_rsa.enc -out /tmp/deploy_rsa -d
- eval "$(ssh-agent -s)"
- chmod 600 /tmp/deploy_rsa
- ssh-add /tmp/deploy_rsa
deploy:
provider: script
skip_cleanup: true
overwrite: true
script: bash ./build/${TRAVIS_OS_NAME}-deploy.sh remote
on:
branch: master
repo: christopherpow/nesicide
notifications:
irc:
channels:
- chat.freenode.net#nesicide
template:
- "%{repository_slug} (%{commit}) : %{message}"
- 'Build details: %{build_url}'