-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
57 lines (50 loc) · 1.19 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
sudo: required
env:
global:
- CGO_ENABLED: 1
- PATH_SUBMODULE: "gopath/src/github.com/fibercrypto/libskycoin"
matrix:
include:
- os: linux
dist: xenial
env: TYPE=mono
language: go
- os: linux
dist: xenial
env: TYPE=dotnet
language: go
- os: osx
language: csharp
oxs_image: xcode8
solution: lib/swig/LibSkycoinNet.sln
env: TYPE=mono
mono: 5.18.1
dotnet: 2.2.401
- os: osx
language: csharp
oxs_image: xcode8
solution: lib/swig/LibSkycoinDotNet.sln
env: TYPE=dotnet
mono: 5.18.1
dotnet: 2.2.401
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then bash .travis/install_linux.sh ; fi
- ./.travis/install-deps.sh
- ./.travis/install-travis-gcc.sh
- eval "CC=gcc && CXX=g++"
- go get github.com/gz-c/gox
install:
- eval "$(gimme 1.11)"
script:
- make test-libsky-$TYPE
- make test-skyapi
notifications:
email: false
webhooks: https://fathomless-fjord-24024.herokuapp.com/notify
deploy:
skip_cleanup: true
provider: script
script: chmod +x ./.travis/deploy.sh && ./.travis/deploy.sh
on:
tags: true
repo: simelo/libskycoin_dotnet