Skip to content

Commit

Permalink
Merge pull request #21 from abramvandergeest/master
Browse files Browse the repository at this point in the history
adding simple travis.yml file
  • Loading branch information
abramvandergeest authored Mar 20, 2020
2 parents 5b24842 + 6a48848 commit 4d98805
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
language: go
go:
- 1.12.x
os:
- linux

env:
- GO111MODULE=on

install:
- TF_TYPE="cpu"
- mkdir tensorflow_libs
- cd tensorflow_libs
- TARGET_DIRECTORY=$(pwd)
- curl -L "https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-${TF_TYPE}-$(go env GOOS)-x86_64-1.15.0.tar.gz" | tar -C $TARGET_DIRECTORY -xz
- cd ..
- export LIBRARY_PATH=$LIBRARY_PATH:$TARGET_DIRECTORY/lib
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$TARGET_DIRECTORY/lib
- go get github.com/tensorflow/tensorflow/tensorflow/go

script:
- go test ./activity/inference/...

0 comments on commit 4d98805

Please sign in to comment.