-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
70 lines (63 loc) · 1.57 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
language: csharp
sudo: true
matrix:
include:
- mono: latest
os: osx
osx_image: latest
- mono: weekly
os: osx
- mono: nightly
os: osx
# Mono 5.x
- mono: 5.18.0
os: osx
- mono: 5.16.0
os: osx
- mono: 5.14.0
os: osx
- mono: 5.12.0
os: osx
- mono: 5.8.1
os: osx
- mono: 5.10.0
os: osx
- mono: 5.8.0
os: osx
- mono: 5.4.1
os: osx
- mono: 5.4.0
os: osx
addons:
homebrew:
packages: paket
update: true
script:
- bash ./build.bash
- fsharpi ./test.fsx
after_failure:
- echo 'test fail'
after_success:
- echo 'success!'
- ls -al ./bin/
# prepare
- openssl aes-256-cbc -K $encrypted_b811b6a1fc44_key -iv $encrypted_b811b6a1fc44_iv -in deploy_key.enc -out ~/.ssh/id_rsa -d
- chmod 600 ~/.ssh/id_rsa
- echo -e "Host github.com" >> ~/.ssh/config
- echo -e "\n\tUser git" >> ~/.ssh/config
- echo -e "\n\tStrictHostKeyChecking no" >> ~/.ssh/config
- echo -e "\n\tIdentityFile ~/.ssh/id_rsa" >> ~/.ssh/config
- echo -e "\n\tIdentitiesOnly yes" >> ~/.ssh/config
- echo -e "\n\tForwardAgent yes" >> ~/.ssh/config
- git config --global user.email "[email protected]"
- git config --global user.name "callmekohei"
# git operations
- cd ..
- git clone [email protected]:callmekohei/deoplete-fsharp-bin.git
- rm -rf ./deoplete-fsharp-bin/bin_deopletefs
- cp -rf ./deopletefs/bin ./deoplete-fsharp-bin/
#
- cd ./deoplete-fsharp-bin
- git add --all
- git commit -m "by Travis CI (JOB $TRAVIS_JOB_NUMBER)"
- git push origin master