forked from jenkins-x/jx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (26 loc) · 802 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
language: bash
sudo: false
os: linux-ppc64le
before_install:
- sudo apt-get update
- sudo apt-get install -y wget tar gcc git make curl
before_script:
- wget https://dl.google.com/go/go1.11.1.linux-ppc64le.tar.gz
- chmod ugo+r go1.11.1.linux-ppc64le.tar.gz
- sudo tar -C /usr/local -xzf go1.11.1.linux-ppc64le.tar.gz
- export PATH=/usr/local/go/bin:$PATH
- export GOPATH=/home/travis/build/Prajyot-Parab/
- export GOROOT=/usr/local/go
- mkdir -p $GOPATH/src/github.com/jenkins-x
- cd $GOPATH
- mv jx $GOPATH/src/github.com/jenkins-x/
- mkdir -p $GOPATH/bin
- sudo curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
- cd $GOPATH/src/github.com/jenkins-x/jx
- go env
script:
- go version
- make build
- make test |& tee test_log
- grep "FAIL" test_log
- echo "Job Failed lol"