minor clean
This commit is contained in:
parent
d192979eb7
commit
8813e6d8bd
40
.classpath
40
.classpath
@ -1,40 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<classpath>
|
|
||||||
<classpathentry kind="src" path="tests/18-coap-lwm2m/example-lwm2m-standalone/lwm2m"/>
|
|
||||||
<classpathentry kind="src" path="tools/coffee-manager"/>
|
|
||||||
<classpathentry kind="src" path="tools/cooja/apps/avrora/src"/>
|
|
||||||
<classpathentry kind="src" path="tools/cooja/apps/mrm/java"/>
|
|
||||||
<classpathentry kind="src" path="tools/cooja/apps/mspsim/src"/>
|
|
||||||
<classpathentry kind="src" path="tools/cooja/apps/native_gateway/java"/>
|
|
||||||
<classpathentry kind="src" path="tools/cooja/apps/powertracker/java"/>
|
|
||||||
<classpathentry kind="src" path="tools/cooja/apps/serial_socket/java"/>
|
|
||||||
<classpathentry kind="src" path="tools/cooja/build"/>
|
|
||||||
<classpathentry kind="src" path="tools/cooja/examples/appmote_rimeabc"/>
|
|
||||||
<classpathentry kind="src" path="tools/cooja/examples/project_new_interface/java"/>
|
|
||||||
<classpathentry kind="src" path="tools/cooja/examples/project_new_plugin/java"/>
|
|
||||||
<classpathentry kind="src" path="tools/cooja/examples/project_new_radiomedium/java"/>
|
|
||||||
<classpathentry kind="src" path="tools/cooja/java"/>
|
|
||||||
<classpathentry kind="src" path="tools/cooja/mspsim"/>
|
|
||||||
<classpathentry kind="src" path="tools/cooja/tools/coffee-manager"/>
|
|
||||||
<classpathentry kind="src" path="tools/wpcapslip"/>
|
|
||||||
<classpathentry kind="lib" path="tools/cooja/apps/avrora/cooja-avrora.jar"/>
|
|
||||||
<classpathentry kind="lib" path="tools/cooja/apps/avrora/lib/avrora-small.jar"/>
|
|
||||||
<classpathentry kind="lib" path="tools/cooja/apps/mrm/mrm.jar"/>
|
|
||||||
<classpathentry kind="lib" path="tools/cooja/apps/mspsim/lib/coffee.jar"/>
|
|
||||||
<classpathentry kind="lib" path="tools/cooja/apps/mspsim/lib/cooja-mspsim.jar"/>
|
|
||||||
<classpathentry kind="lib" path="tools/cooja/apps/mspsim/lib/jipv6.jar"/>
|
|
||||||
<classpathentry kind="lib" path="tools/cooja/apps/mspsim/lib/mspsim.jar"/>
|
|
||||||
<classpathentry kind="lib" path="tools/cooja/apps/powertracker/powertracker.jar"/>
|
|
||||||
<classpathentry kind="lib" path="tools/cooja/apps/serial_socket/serial-socket.jar"/>
|
|
||||||
<classpathentry kind="lib" path="tools/cooja/dist/cooja.jar"/>
|
|
||||||
<classpathentry kind="lib" path="tools/cooja/dist/lib/jdom.jar"/>
|
|
||||||
<classpathentry kind="lib" path="tools/cooja/dist/lib/jsyntaxpane.jar"/>
|
|
||||||
<classpathentry kind="lib" path="tools/cooja/dist/lib/log4j.jar"/>
|
|
||||||
<classpathentry kind="lib" path="tools/cooja/dist/lib/swingx-all-1.6.4.jar"/>
|
|
||||||
<classpathentry kind="lib" path="tools/cooja/lib/jdom.jar"/>
|
|
||||||
<classpathentry kind="lib" path="tools/cooja/lib/jsyntaxpane.jar"/>
|
|
||||||
<classpathentry kind="lib" path="tools/cooja/lib/log4j.jar"/>
|
|
||||||
<classpathentry kind="lib" path="tools/cooja/lib/swingx-all-1.6.4.jar"/>
|
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
|
||||||
<classpathentry kind="output" path="tools/cooja/apps/avrora/build"/>
|
|
||||||
</classpath>
|
|
14
.gitattributes
vendored
14
.gitattributes
vendored
@ -1,14 +0,0 @@
|
|||||||
# Set the default behavior, in case people don't have core.autocrlf set.
|
|
||||||
* text=auto whitespace=trailing-space
|
|
||||||
|
|
||||||
# Explicitly declare text files you want to always be normalized and converted
|
|
||||||
# to native line endings on checkout.
|
|
||||||
*.c text
|
|
||||||
*.h text
|
|
||||||
*.java text
|
|
||||||
|
|
||||||
# Denote all files that are truly binary and should not be modified.
|
|
||||||
*.png binary
|
|
||||||
*.jpg binary
|
|
||||||
*.ihex binary
|
|
||||||
*.s37 binary
|
|
30
.gitmodules
vendored
30
.gitmodules
vendored
@ -1,30 +0,0 @@
|
|||||||
[submodule "tools/cc2538-bsl"]
|
|
||||||
path = tools/cc2538-bsl
|
|
||||||
url = https://github.com/JelmerT/cc2538-bsl.git
|
|
||||||
[submodule "arch/cpu/cc26xx-cc13xx/lib/cc26xxware"]
|
|
||||||
path = arch/cpu/cc26x0-cc13x0/lib/cc26xxware
|
|
||||||
url = https://github.com/contiki-ng/cc26xxware.git
|
|
||||||
[submodule "arch/cpu/cc26xx-cc13xx/lib/cc13xxware"]
|
|
||||||
path = arch/cpu/cc26x0-cc13x0/lib/cc13xxware
|
|
||||||
url = https://github.com/contiki-ng/cc13xxware.git
|
|
||||||
[submodule "tools/sensniff"]
|
|
||||||
path = tools/sensniff
|
|
||||||
url = https://github.com/g-oikonomou/sensniff.git
|
|
||||||
[submodule "tools/cooja"]
|
|
||||||
path = tools/cooja
|
|
||||||
url = https://github.com/contiki-ng/cooja.git
|
|
||||||
[submodule "os/net/security/tinydtls"]
|
|
||||||
path = os/net/security/tinydtls
|
|
||||||
url = https://github.com/contiki-ng/tinydtls.git
|
|
||||||
[submodule "tests/18-coap-lwm2m/example-lwm2m-standalone"]
|
|
||||||
path = tests/18-coap-lwm2m/example-lwm2m-standalone
|
|
||||||
url = https://github.com/contiki-ng/example-lwm2m-standalone.git
|
|
||||||
[submodule "tools/motelist"]
|
|
||||||
path = tools/motelist
|
|
||||||
url = https://github.com/contiki-ng/motelist
|
|
||||||
[submodule "arch/cpu/simplelink-cc13xx-cc26xx/lib/coresdk_cc13xx_cc26xx"]
|
|
||||||
path = arch/cpu/simplelink-cc13xx-cc26xx/lib/coresdk_cc13xx_cc26xx
|
|
||||||
url = https://github.com/contiki-ng/coresdk_cc13xx_cc26xx.git
|
|
||||||
[submodule "arch/cpu/cc26xx-cc13xx/lib/cc2640r2-sdk"]
|
|
||||||
path = arch/cpu/cc26x0-cc13x0/lib/cc2640r2-sdk
|
|
||||||
url = https://github.com/contiki-ng/cc2640r2-sdk.git
|
|
84
.travis.yml
84
.travis.yml
@ -1,84 +0,0 @@
|
|||||||
# Setup environment for Docker
|
|
||||||
language: generic
|
|
||||||
services: docker
|
|
||||||
notifications:
|
|
||||||
email: false
|
|
||||||
|
|
||||||
# Environment setup before test script. Runs for each build
|
|
||||||
before_install:
|
|
||||||
# Check if anything has changed within the docker directory
|
|
||||||
- DOCKER_CHANGED=`git diff --name-only $TRAVIS_COMMIT_RANGE -- tools/docker | wc -l`
|
|
||||||
# If Docker directory has not changed, pull image from Dockerhub. Else, build
|
|
||||||
# image from Dockerifle. This needs to be done for each job. Any build error
|
|
||||||
# will count as Travis test failure. In case this updates develop, push new
|
|
||||||
# image to Dockerhub (secure credentials only readable on bulids to
|
|
||||||
# contiki-ng/contiki-ng branches, not forks or PRs)
|
|
||||||
- >
|
|
||||||
if [ $DOCKER_CHANGED == 0 ]; then
|
|
||||||
echo "Docker image unchanged, pull from Dockerhub"
|
|
||||||
docker pull $DOCKER_IMG;
|
|
||||||
else
|
|
||||||
echo "Docker image changed, build from Dockerfile"
|
|
||||||
docker build tools/docker -t $DOCKER_IMG;
|
|
||||||
if [ $? != 0 ]; then
|
|
||||||
echo "Failed to build Docker image"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
if [ $TRAVIS_SECURE_ENV_VARS == true ] && [ $TRAVIS_PULL_REQUEST == false ] && [ $TRAVIS_BRANCH == 'develop' ]; then
|
|
||||||
echo "This build is for an update of branch develop. Push image to Dockerhub"
|
|
||||||
echo $DOCKERHUB_PASSWD | docker login --username contiker --password-stdin
|
|
||||||
docker push $DOCKER_IMG;
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
# Build Cooja conditionally
|
|
||||||
- if [ ${BUILD_COOJA:-false} = true ] ; then
|
|
||||||
ant -q -f $CNG_HOST_PATH/tools/cooja/build.xml jar ;
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Create a directory for out of tree tests and clone the test repo therein
|
|
||||||
# The directory will need created unconditionally so we can always chgrp and
|
|
||||||
# mount it, even if empty. Checkout a pre-defined version.
|
|
||||||
- mkdir -p $OUT_OF_TREE_TEST_PATH
|
|
||||||
- if [ ${TEST_NAME} = "out-of-tree-build" ] ; then
|
|
||||||
git clone --depth 1 https://github.com/contiki-ng/out-of-tree-tests $OUT_OF_TREE_TEST_PATH &&
|
|
||||||
cd $OUT_OF_TREE_TEST_PATH &&
|
|
||||||
git checkout $OUT_OF_TREE_TEST_VER ;
|
|
||||||
fi
|
|
||||||
# Set permissions for Docker mount
|
|
||||||
- sudo chgrp -hR 1000 $CNG_HOST_PATH $OUT_OF_TREE_TEST_PATH
|
|
||||||
|
|
||||||
# The test script for each build
|
|
||||||
script:
|
|
||||||
- docker run --privileged -v $OUT_OF_TREE_TEST_PATH:/home/user/out-of-tree-tests -v $CNG_HOST_PATH:/home/user/contiki-ng -ti $DOCKER_IMG bash --login -c "make -C tests/??-$TEST_NAME";
|
|
||||||
# Check outcome of the test
|
|
||||||
- $CNG_HOST_PATH/tests/check-test.sh $CNG_HOST_PATH/tests/??-$TEST_NAME; exit $?;
|
|
||||||
|
|
||||||
# Environment variables
|
|
||||||
env:
|
|
||||||
# Global environment variables, i.e., set for all builds
|
|
||||||
global:
|
|
||||||
- DOCKER_IMG='contiker/contiki-ng'
|
|
||||||
- CNG_HOST_PATH=`pwd`
|
|
||||||
- OUT_OF_TREE_TEST_PATH=$HOME/out-of-tree-tests
|
|
||||||
- OUT_OF_TREE_TEST_VER=2869ae7
|
|
||||||
# Encrypted environment variables.
|
|
||||||
# Only available on builds of contiki-ng/contiki-ng branches, not PRs or forks.
|
|
||||||
- secure: 0nrV5yjpT2kE19Hlm7t619Qbmyjx/G7bSUI1c+U3kZbyuxnRlASjVcDN5uPBoimIfGiBRI0nRq690BogAJt4EKwbC1Dy8kC1XD8mRtQ2AIZ6PHaUoG9iS5sBhFBQK0XkB83bwh6omRn/04O0uuX74ooSWT7fDrWxi/y5+0ysXK6gRtOhdrJ3FU5OkNVewX8NeCdx3pOWhMOtXWdFkMIi1XRdDnvMM5/hHlHMkdXXtaZQX9UsK3Q3DSjPRLZjKRiOlcx9MIg2ebh9ITmd2Du2p2q/LKtoutJckvhbKQPWcZi/B+1ZTSff0FHBIg+EYxf6TeFuia7XSTWH7sr2CDCCtcvSR9bB5yW6jdmGfa8Af8I1TCBuqoSUo0Re50BZBZF7COleEh+IojbjXn2CIDMg5rT4Sh3qcMGvFn9OW1cz5h5UNSOk7EIAXXPcI7Aloxh2sBo4/DrvvbfIsKrvxV9Fx4bdyNtR7dZ7xsoOw6L0zttC3K9naf3VAOeBAyjBiRwm0tWxJC/buhTsKlYrthhyUrwLtYAFL4UHcazvz57hY/cEzR2X6F//9Hp7HFoNtn1E36doX3ZfeI22yxHMo9SYW7O69C45wbhJ29lAA9XXbYVyGBKFkY8C1NCZ0Xckt9H8/Ow5Sz8HmW/NNBJCn0Fsx+jezdGc4ED5naugNbLAyNg=
|
|
||||||
# Each line in the 'matrix' triggers a separate Travis build
|
|
||||||
matrix:
|
|
||||||
- TEST_NAME='compile-base'
|
|
||||||
- TEST_NAME='compile-arm-ports-01'
|
|
||||||
- TEST_NAME='compile-arm-ports-02'
|
|
||||||
- TEST_NAME='rpl-lite' BUILD_COOJA=true
|
|
||||||
- TEST_NAME='rpl-classic' BUILD_COOJA=true
|
|
||||||
- TEST_NAME='tun-rpl-br' BUILD_COOJA=true
|
|
||||||
- TEST_NAME='coap-lwm2m'
|
|
||||||
- TEST_NAME='simulation-base' BUILD_COOJA=true
|
|
||||||
- TEST_NAME='ieee802154' BUILD_COOJA=true
|
|
||||||
- TEST_NAME='compile-nxp-ports'
|
|
||||||
- TEST_NAME='documentation'
|
|
||||||
- TEST_NAME='compile-tools'
|
|
||||||
- TEST_NAME='native-runs'
|
|
||||||
- TEST_NAME='ipv6' BUILD_COOJA=true
|
|
||||||
- TEST_NAME='ipv6-nbr' BUILD_COOJA=true
|
|
||||||
- TEST_NAME='out-of-tree-build'
|
|
Loading…
Reference in New Issue
Block a user