-
Notifications
You must be signed in to change notification settings - Fork 832
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
34 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!/bin/bash | ||
echo -en 'travis_fold:start:Python modules\r' | ||
sudo apt-get install -y python-lxml python-dbus python-lxml | ||
pip install -r ajenti-core/requirements.txt | ||
pip install -r plugins/core/requirements.txt | ||
pip install -r plugins/services/requirements.txt | ||
pip install -r plugins/terminal/requirements.txt | ||
pip install ajenti-dev-multitool | ||
echo -en 'travis_fold:end:Python modules\r' | ||
|
||
echo -en 'travis_fold:start:Node modules\r' | ||
npm install -g bower | ||
cd tests-karma | ||
npm install || exit 1 | ||
cd .. | ||
echo -en 'travis_fold:end:Node modules\r' | ||
|
||
echo -en 'travis_fold:start:Bower components\r' | ||
ajenti-dev-multitool --bower install || exit 1 | ||
echo -en 'travis_fold:end:Bower components\r' | ||
|
||
echo -en 'travis_fold:start:Nose unit tests\r' | ||
cd tests-nose | ||
nosetests base.py || exit 1 | ||
cd .. | ||
echo -en 'travis_fold:end:Nose unit tests\r' | ||
|
||
echo -en 'travis_fold:start:Karma unit tests\r' | ||
cd tests-karma | ||
./node_modules/.bin/karma start karma.conf.coffee --single-run || exit 1 | ||
cat coverage/coverage.txt | ||
cd .. | ||
echo -en 'travis_fold:end:Karma unit tests\r' |