-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
27 lines (25 loc) · 938 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
language: c
env:
- FF_MODEL_PATH=~/FF_Model
script:
- wget https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-gpu-linux-x86_64-2.3.0.tar.gz -O libtf.tar.gz -q
- sudo tar -C /usr/local -xzf libtf.tar.gz
- sudo ldconfig
- wget https://github.com/ray1422/Fantastic-Filter-CLI/releases/download/v0.0.1-alpha/FF_Model.tar.gz -q
- tar -xvf FF_Model.tar.gz -C ~/
- make
- make test
compiler:
- clang
- gcc
jobs:
include:
- stage: Build & Push Docker Image
script:
- echo "$DOCKER_TOKEN" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build -t fantastic-filter-cli .
- docker images
- docker tag fantastic-filter-cli $DOCKER_USERNAME/fantastic-filter-cli:latest
- docker push $DOCKER_USERNAME/fantastic-filter-cli:latest
# - stage: Docker Test
# script: docker run --rm $DOCKER_USERNAME/fantastic-filter-cli:latest ff-cli -b=0