forked from stratisproject/Breeze
-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
53 lines (48 loc) · 1.06 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
language: csharp
mono: none
dotnet: 1.0.4
matrix:
include:
- os: linux # Ubuntu 14.04
dist: trusty
sudo: required
env: os_identifier=ubuntu.14.04
- os: osx # OSX 10.11
osx_image: xcode7.3
env: os_identifier=osx.10.11
- os: osx # OSX 10.12
osx_image: xcode8.1
env: os_identifier=osx.10.12
# branches to build
branches:
only:
- master
env:
global:
- log_prefix=[$TRAVIS_OS_NAME]
- arch=x64
- configuration=Release
- os_platform=linux
- TRAVIS_TAG=cd-unstable
# Work around NuGet issue #2163
# https://github.com/NuGet/Home/issues/2163
# https://github.com/travis-ci/travis-ci/issues/7728
before_install:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then ulimit -n 1024 ; os_platform=darwin ; fi
install:
- nvm install 6
script:
- chmod +x build.sh
- "./build.sh"
deploy:
provider: releases
api_key:
secure: $secure_github_key # this key is set on the Travis build page
file_glob: true
file: "$TRAVIS_BUILD_DIR/deploy/*.zip"
skip_cleanup: true
overwrite: true
prerelease: true
on:
branch: master
tags: true