-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
5 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,11 @@ | ||
set -ex | ||
#!/bin/bash | ||
|
||
set -x | ||
|
||
go env | ||
go get -d -t -v ./... | ||
export CGO_LDFLAGS="-L/usr/lib -lopenblas" | ||
go test -a -v ./... | ||
if [[ $TRAVIS_SECURE_ENV_VARS = "true" ]]; then bash -c "$GOPATH/src/gonum.org/v1/netlib/.travis/test-coverage.sh"; fi | ||
|
||
# travis compiles commands in script and then executes in bash. By adding | ||
# set -e we are changing the travis build script's behavior, and the set | ||
# -e lives on past the commands we are providing it. Some of the travis | ||
# commands are supposed to exit with non zero status, but then continue | ||
# executing. set -x makes the travis log files extremely verbose and | ||
# difficult to understand. | ||
# | ||
# see travis-ci/travis-ci#5120 | ||
set +ex | ||
set +x |