-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
40 lines (36 loc) · 1.19 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
language: minimal
services:
- docker
matrix:
include:
- arch: amd64
env : CONDA_ENV=py36_env DOCKER_IMAGE=neufieldrobotics/conda_py3.6_gtsam:gtsam_latest
- arch: amd64
env : CONDA_ENV=py39_env DOCKER_IMAGE=neufieldrobotics/conda_py3.9_gtsam_4_1_1:latest
- arch: amd64
env : CONDA_ENV=py39_env DOCKER_IMAGE=neufieldrobotics/conda_py3.9_gtsam_head:latest
before_install:
- docker pull $DOCKER_IMAGE
script:
- echo TRAVIS_BUILD_DIR is $TRAVIS_BUILD_DIR
- >
docker run
-v $TRAVIS_BUILD_DIR:/simple_vslam/
$DOCKER_IMAGE
/bin/bash -c
"
echo $(pwd) &&
echo "CONDA_PREFIX:" $CONDA_PREFIX &&
conda env update -n $CONDA_ENV --file conda_env.yml &&
source activate $CONDA_ENV &&
echo "CONDA_PREFIX:" $CONDA_PREFIX &&
python -m gtsam.examples.VisualISAM2Example &&
cd simple_vslam &&
tree -L 2 &&
python temp_test_scripts/VisualISAM2withWrapper_Example.py &&
yes | python temp_test_scripts/pnp_example_using_chessboard_points.py &&
yes | python temp_test_scripts/recover_pose_test.py &&
python temp_test_scripts/VisualISAM2withWrapper_Example.py &&
yes | python ./vslam.py -c config/go_pro_Lab_800x600.yaml --quit &&
python -m unittest discover -s tests -v
"