Skip to content
This repository has been archived by the owner on Nov 24, 2018. It is now read-only.

Commit

Permalink
travis: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
kortschak committed Jul 15, 2015
1 parent 9224511 commit bcdd301
Show file tree
Hide file tree
Showing 5 changed files with 3,436 additions and 767 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ install:
# Get deps, build, test, and ensure the code is gofmt'ed.
# If we are building as gonum, then we have access to the coveralls api key, so we can run coverage as well.
script:
- if [[ "$BLAS_LIB" == "gonum" ]]; then pushd native; fi
- go get -d -t -v ./...
- go build -v ./...
- go test -v ./...
- diff <(gofmt -d *.go) <("")
- if [[ $TRAVIS_SECURE_ENV_VARS = "true" ]]; then bash .travis/test-coverage.sh; fi
- if [[ $TRAVIS_SECURE_ENV_VARS = "true" ]]; then bash -c "${TRAVIS_BUILD_DIR}/.travis/test-coverage.sh"; fi
4 changes: 4 additions & 0 deletions .travis/linux/ATLAS/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ export CGO_LDFLAGS="-L/usr/lib -latlas -llapack_atlas"

go get github.com/gonum/blas
go get github.com/gonum/matrix/mat64

pushd cgo/clapack
go install -v -x
popd
4 changes: 4 additions & 0 deletions .travis/linux/OpenBLAS/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,7 @@ export CGO_LDFLAGS="-L/usr/lib -lopenblas"

go get github.com/gonum/blas
go get github.com/gonum/matrix/mat64

pushd cgo/clapack
go install -v -x
popd

0 comments on commit bcdd301

Please sign in to comment.