forked from nodatime/tzvalidate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
22 lines (19 loc) · 843 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
language: csharp
sudo: required
dist: trusty
install:
- sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet/ trusty main" > /etc/apt/sources.list.d/dotnetdev.list'
- sudo apt-key adv --keyserver apt-mo.trafficmanager.net --recv-keys 417A0893
- sudo apt-get -qq update
- sudo apt-get -qq install dotnet-dev-1.0.0-preview2-003121
before_script:
- openssl aes-256-cbc -K $encrypted_e86a7a1dbeca_key -iv $encrypted_e86a7a1dbeca_iv -in .travisdeploykey.enc -out .travisdeploykey -d
- chmod go-rwx .travisdeploykey
- eval `ssh-agent -s`
- ssh-add .travisdeploykey
- git config --global user.name "Travis-CI"
- git config --global user.email "[email protected]"
script:
- set -e
- scripts/detect_changes.sh
- if [ -d tmp/gh-pages ]; then git -C tmp/gh-pages push origin gh-pages; fi