Skip to content

Commit

Permalink
gitlab ci: PORT test RIOT-OS#4
Browse files Browse the repository at this point in the history
  • Loading branch information
roberthartung committed Jun 28, 2017
1 parent 901430f commit 43eada8
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,16 @@ cli:
- python3 -m serial.tools.list_ports -v
- export PORT=`python3 -m serial.tools.list_ports -v 2>/dev/null | grep -B 2 'A502C3XN' | head -n 1`
- echo $PORT
- cd examples/hello-world/ && make PORT=${PORT} BOARD=inga-red flash
- cd examples/hello-world/
- make PORT=${PORT} BOARD=inga-red flash
- make PORT=${PORT} BOARD=inga-red term &
- PID=$!
- ./dist/tools/inga_tool/inga_tool -r -d $(PORT)
- sleep 5; kill -9 $PID
- cd -
- cd tests/unittests/
- make PORT=${PORT} BOARD=inga-red tests-core flash
- make PORT=${PORT} BOARD=inga-red term &
- PID=$!
- ./dist/tools/inga_tool/inga_tool -r -d $(PORT)
- sleep 5; kill -9 $PID

0 comments on commit 43eada8

Please sign in to comment.