-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
47 lines (42 loc) · 3.23 KB
/
.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Use ubuntu trusty (14.04) with sudo privileges.
# sudo is required to use docker service in travis
sudo: required
language: generic
notifications:
email: false
slack:
rooms:
- secure: VkLuVpzjedTNXbDkohShtVu9M/dyPowGyU8s4th1oRaSIKmg7rWPfzWwbmDH3grTYgUqjWS7jJPEVwipfl02Iaee/KcZYgN8EEpi+VDeE9GaDtY0Ih3oTMK3UJ8Hx0kXc/tjgDQhMy8GfRVBs+L/WwoiPwtpfdDu7eeKr3UdxFbV/opL5lbKktTrva7p25RRwo419qHQPLGNdwbKQS5lQycCoM0A9JFkzEYOGy1LqdZu+HfAYp1bpiYLU4hMofHbJ4UJIXFldi8bdHEDoPubFxVQ1EkE5kiBEHdTr+c0FZVNmHQAbwH21imfvaLBxwCeUNXSab4t1HDVitRSuWvnKX7tfXEsRoZFHavW8KeN9ZGfZ4ahYRNRGQ+KJvCcEEkJT/00c1EEGWkVzXkyrkSZKouJPuq05R2eaByaGHaMvx28kMv0l4QrodI11pvjauYzT/Xg459y+obeER9kFLUfPWE8vJVmtyVCWmGq+3RqdBu9CYF4FOWGksR6KSiY8QW0ST1+zhE8py3F8d1QMK0q3YRjMFyEDktGE2z70dc2BypmgO1/8lXjReIETRaOkUUhB0+v0bn3KwNtS5avLN9Mc+rSVzLX7AWd6NYLraGUh4OT4IhP+u6OJUq61kvqatNSNmFEiqfnKaOZVh2L3bliQtymkQQpNkD8TayF3x3QgGY=
on_success: change
on_failure: always
env:
global:
- CI_SOURCE_PATH=$(pwd)
- secure: YwkBy2Y4P3VaISkWwYgDdelDSXziNBbglbZzCdILDpQopsTotfZx2/HxLTeJa5lAoa9C06Nz0dflwGFy3bvgZe3OFs89pzea2hNNAHvrbDjdr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QrCHAAy+4/RPO5KFKHN7RZMSx0tpIdGyK5UjTxMK28/KAxmTcoEckMBuGfRLBmQmDHFWfOgxahHDCdWi5vh6h2Sys/k7yi5Ri+gCWwQ19SJTGR5wmQXAhIm+PLXW0xu7HZMPzNSolO9mWaXJitVhtKQyKrlEx7V6pofTyamzCauUPM/kbaJ0ccKk=
services:
- docker
before_install:
- pip install numpy --user
- cd ../ && git clone https://github.com/ScazLab/task-models.git
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker pull leia/ontosem:1.0.0
- docker pull leia/agents:latest.yale
install:
- cd task-models && python setup.py install --user && cd $TRAVIS_BUILD_DIR
# - docker --version # document the version travis is using
# -d means detached version that runs containers on the background
# -p is the name of the project (to uniform things)
script:
- docker-compose -p rpi\_integration -f $TRAVIS_BUILD_DIR/docker-compose.yml up -d
- sleep 60
# - docker ps -a
# - docker network ls
# - docker network inspect rpiintegration_leia
# - ifconfig
# - python -m unittest discover tests
after_script:
- sleep 2
after_success:
- echo "Success!" # put your normal testing scripts here
- docker-compose down