1
0
Fork 0

Split Travis build into several steps, so we can fold them in the Travis UI.

This commit is contained in:
Willi Goesgens 2014-12-17 10:45:25 +01:00
parent 58e52e6a0c
commit b4ad28dff4
4 changed files with 24 additions and 7 deletions

View File

@ -27,7 +27,10 @@ install:
- sudo apt-get -y install gdb - sudo apt-get -y install gdb
before_script: "bash -c Installation/travisCI/before_script.sh" before_script: "bash -c Installation/travisCI/before_script.sh"
script: "bash -c Installation/travisCI/script.sh" script:
- "bash -c Installation/travisCI/build.sh"
- "bash -c Installation/travisCI/jslint.sh"
- "bash -c Installation/travisCI/tests.sh"
after_failure: "bash -c Installation/travisCI/after_failure.sh" after_failure: "bash -c Installation/travisCI/after_failure.sh"
branches: branches:
only: only:

View File

@ -20,11 +20,5 @@ echo "$0: compiling ArangoDB"
make -j2 || exit 1 make -j2 || exit 1
echo
echo "$0: testing ArangoDB"
ulimit -c unlimited -S # enable core files
make jslint unittests-shell-server unittests-shell-server-ahuacatl unittests-shell-server-aql unittests-http-server SKIP_RANGES=1 || exit 1
echo echo
echo "$0: done" echo "$0: done"

10
Installation/travisCI/jslint.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/bash
echo
echo "$0: linting ArangoDB JS"
ulimit -c unlimited -S # enable core files
make jslint || exit 1
echo
echo "$0: done"

10
Installation/travisCI/tests.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/bash
echo
echo "$0: testing ArangoDB"
ulimit -c unlimited -S # enable core files
make unittests-shell-server unittests-shell-server-ahuacatl unittests-shell-server-aql unittests-http-server SKIP_RANGES=1 || exit 1
echo
echo "$0: done"