forked from getgauge/gauge-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
32 lines (32 loc) · 988 Bytes
/
.travis.yml
File metadata and controls
32 lines (32 loc) · 988 Bytes
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
os:
- linux
language: java
jdk:
- oraclejdk8
env:
- GOPATH="/tmp" GAUGE_ROOT="/tmp/gauge"
before_install:
- wget https://storage.googleapis.com/golang/go1.7.4.linux-amd64.tar.gz
- sudo tar -xvf go1.7.4.linux-amd64.tar.gz
- sudo mv go /usr/local
- export GOROOT=/usr/local/go
- export PATH=$GOPATH/bin:$GOROOT/bin:$PATH
- go get github.com/tools/godep
install:
- go run make.go
script:
- echo $GOROOT
- echo $GOPATH
- go version
- go run make.go --install
- go get -d -u -v github.com/getgauge/gauge
- cd $GOPATH/src/github.com/getgauge/gauge
- godep restore
- echo "gauge_repository_url = https://raw.githubusercontent.com/getgauge/gauge-nightly-repository/master/" >> skel/gauge.properties
- go run build/make.go
- go run build/make.go --install --prefix=$GAUGE_ROOT
- cd ..
- git clone --depth=1 https://github.com/getgauge/gauge-tests
- cd gauge-tests
- $GAUGE_ROOT/bin/gauge --install-all
- TAGS="!unimplemented" ./starttests.sh java