forked from getgauge/gauge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
26 lines (26 loc) · 816 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
os:
- linux
- osx
language: go
go:
- "1.10"
addons:
apt:
packages:
- oracle-java8-set-default
env:
- GAUGE_PREFIX="/tmp/gauge" GAUGE_TELEMETRY_ENABLED=false
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export JAVA_HOME="/usr/lib/jvm/java-8-oracle"; fi
script:
- go run build/make.go
- go run build/make.go --test
- go run build/make.go --install --prefix=$GAUGE_PREFIX
- $GAUGE_PREFIX/bin/gauge config gauge_repository_url https://raw.githubusercontent.com/getgauge/gauge-nightly-repository/master/
- git clone --depth=1 https://github.com/getgauge/gauge-tests
- cd gauge-tests
- $GAUGE_PREFIX/bin/gauge install
- java -version
- echo $JAVA_HOME
- $GAUGE_PREFIX/bin/gauge version
- PATH=$GAUGE_PREFIX/bin:$PATH TAGS="\!unimplemented" ./starttests.sh java