-
Notifications
You must be signed in to change notification settings - Fork 19
/
.travis.yml
65 lines (65 loc) · 1.77 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
sudo: required
dist: trusty
addons:
apt:
packages:
- gettext
- libcurl4-openssl-dev
- libicu-dev
- libssl-dev
- libunwind8
- zlib1g
- curl
- tree
notifications:
email:
on_success: change
on_failure: change
matrix:
include:
# - language: csharp
# env:
# - TRAVIS_MONO=true
# - LEADER=true
# mono: beta
# os: linux
# - language: csharp
# env: TRAVIS_MONO=true
# mono: beta
# os: osx
- env: LEADER=true
os: linux
- os: osx
# - env:
# - TRAVIS_MONO=true
# - BREW_MONO=true
# os: osx
env:
global:
- secure: JG+808gsJ65N/BE7yzCbVVtQYkZd2KmI5ErsS6qWF3vMzk8fewQbS0BdPl/D1dWW7Ty1cd6RTC0nTYaUovKERj7LEURjVubR97rDPR8TjukmmQthI6X/K7MkOFO9xh90q/rqDhtXbYBZQzk3fGDjTszENOJruSitAbFI6QMzcX4=
- secure: AbpDujLZ+ER07GllQ/cWHNYv8x1NzmsgFfUbSYIgp6OJBpLhUfgB1/ZGVtXSVByybGRnr8NBW+DZ09yA+TIDdCTp4mQBPlOCmTpEDTGmu6wSSz2zpTVwbOcgddU9pmZw4d01tGa4fG78zlpi79lo/v+vJaebZNUKkeoyurwOqkw=
install:
- rm -rf ~/.nvm
- git clone https://github.com/creationix/nvm.git ~/.nvm
- source ~/.nvm/nvm.sh
- nvm install 6.9.4
- node --version
- chmod +x publish.sh
- if [ "$BREW_MONO" = "true" ]; then brew update; brew install mono; fi
- travis_retry npm install
script:
- travis_retry npm test
after_success:
- echo TRAVIS_SECURE_ENV_VARS = $TRAVIS_SECURE_ENV_VARS
- echo TRAVIS_BRANCH = $TRAVIS_BRANCH
- echo TAG_COMMIT = $TAG_COMMIT
- if [ "$LEADER" = "true" ]; then
- . ./publish.sh
- fi
before_install:
- openssl enc -aes-256-cbc -a -salt -in travis_rsa.enc -out ~/.ssh/id_rsa -pass pass:$OPENSSL_PASSKEY -d
- chmod 600 ~/.ssh/id_rsa
- eval `ssh-agent -s`
- ssh-add ~/.ssh/id_rsa
notifications:
slack: omnisharp:UN1OlhsHD8hUXy8SEr1L6Zar