forked from getgauge/gauge-csharp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
31 lines (30 loc) · 966 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
23
24
25
26
27
28
29
30
31
os:
- osx
- linux
env:
- GAUGE_TELEMETRY_ENABLED=false GAUGE_PREFIX=/tmp
before_install:
- mozroots --import --sync
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export JAVA_HOME="/usr/lib/jvm/java-8-oracle"; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; brew install Caskroom/cask/java; fi
addons:
apt:
packages:
- oracle-java8-set-default
- maven
install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew outdated maven || brew upgrade maven; fi
- curl -sSfL https://raw.githubusercontent.com/getgauge/infrastructure/master/nightly_scripts/install_latest_gauge_nightly.sh | bash
- export PATH=/tmp/bin:$PATH
- mvn -version
- gauge version
- echo "gauge_repository_url = https://raw.githubusercontent.com/getgauge/gauge-nightly-repository/master/" >> $HOME/.gauge/config/gauge.properties
language: csharp
mono:
- 5.0.1
dotnet: 2.1.3
cache:
directories:
- $HOME/.m2
script:
- ./build.sh BuildInstallFT