nes-proj/.travis.yml

37 lines
1.1 KiB
YAML
Raw Normal View History

2017-11-15 22:00:13 +00:00
# Setup environment for Docker
language: generic
services: docker
notifications:
2017-11-15 22:00:13 +00:00
- email: false
2014-11-18 16:43:38 +00:00
2017-11-15 22:00:13 +00:00
before_install:
# Environment setup before test script
- export CNG_HOST_PATH=`pwd`
- export DOCKER_IMG='simonduq/contiki-ng:latest'
- sudo chgrp -hR 1000 $CNG_HOST_PATH
- docker pull $DOCKER_IMG
- ant -q -f $CNG_HOST_PATH/tools/cooja/build.xml jar
script: # The test script for each build.
- docker run --privileged -v $CNG_HOST_PATH:/home/user/contiki-ng -ti $DOCKER_IMG bash --login -c "make -C tests/??-$TEST_NAME";
2017-11-15 22:00:13 +00:00
# Check outcome of the test
- $CNG_HOST_PATH/tests/check-test.sh $CNG_HOST_PATH/tests/??-$TEST_NAME; exit $?;
env:
2017-11-15 22:00:13 +00:00
# Parallel builds
- TEST_NAME='compile-base'
- TEST_NAME='compile-arm-ports-01'
- TEST_NAME='compile-arm-ports-02'
- TEST_NAME='rpl-lite'
- TEST_NAME='rpl-classic'
- TEST_NAME='tun-rpl-br'
2017-11-29 21:53:55 +00:00
- TEST_NAME='coap-lwm2m'
2017-11-15 22:00:13 +00:00
- TEST_NAME='simulation-base'
- TEST_NAME='ieee802154'
- TEST_NAME='compile-nxp-ports'
- TEST_NAME='doxygen'
- TEST_NAME='compile-tools'
- TEST_NAME='native-runs'
- TEST_NAME='ipv6'