Skip to content

Commit ee3d71b

Browse files
authored
Create .travis.yml
1 parent 43ce485 commit ee3d71b

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.travis.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
language: elixir
2+
elixir: '1.6.6'
3+
otp_release: '21.0'
4+
5+
before_install:
6+
- sudo apt-get -y install libjpeg-dev
7+
- TF_TYPE="cpu"
8+
- OS="linux"
9+
- TARGET_DIRECTORY="/usr/local"
10+
- curl -L \
11+
"https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-${TF_TYPE}-${OS}-x86_64-1.9.0.tar.gz" |
12+
sudo tar -C $TARGET_DIRECTORY -xz
13+
- sudo ldconfig
14+
15+
install:
16+
- mix local.rebar --force
17+
- mix local.hex --force
18+
- mix deps.get
19+
20+
script:
21+
- mix test

0 commit comments

Comments
 (0)