forked from Delta-ML/delta
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
18 lines (15 loc) · 858 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
language: python
services:
- docker
before_install:
- export DELTA_PATH=`pwd`; echo $DELTA_PATH
- export DOCKER_DELTA="/home/gitlab-runner/delta"; echo $DOCKER_DELTA
- docker pull zh794390558/delta:1.14.0-ci-cpu-py3
- docker run -it -d --name travis_con --user root -v ${DELTA_PATH}:${DOCKER_DELTA} zh794390558/delta:1.14.0-ci-cpu-py3 bash
- docker exec travis_con bash -c "cd ${DOCKER_DELTA}; source env.sh"
- docker exec travis_con bash -c "cd ${DOCKER_DELTA}/tools; touch test.done"
- docker exec travis_con bash -c "cd ${DOCKER_DELTA}/tools; make basic check_install test"
script:
- docker exec travis_con bash -c "cd ${DOCKER_DELTA}; bash tools/test/python_test.sh"
- docker exec travis_con bash -c "cd ${DOCKER_DELTA}; bash tools/test/cpp_test.sh"
- docker exec travis_con bash -c "cd ${DOCKER_DELTA}; bash tools/test/lint.sh"