-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy pathci.sh
More file actions
executable file
·39 lines (29 loc) · 746 Bytes
/
Copy pathci.sh
File metadata and controls
executable file
·39 lines (29 loc) · 746 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/bin/bash
# Run this script from the root folder of the repository with:
# ./ci.sh
# Exit on first command that fails
set -e
echo "Checking JSHint"
#jshint .
echo "JSHint checks were successful"
# Make sure our documentation is clean
#echo "Checking Yuidoc syntax"
#yuidoc --lint
#echo "Yuidoc checks were successful"
echo "Killing node and phantomjs processes"
pkill -9 phantomjs || true
pkill -9 node || true
rm -rf test-app/packages/tests-proxy
cd test-app
rm -rf .meteor/local
cd tests/cucumber
npm install
cd ../..
export VELOCITY_CI=1
export JASMINE_CLIENT_UNIT=0
export JASMINE_CLIENT_INTEGRATION=0
export JASMINE_SERVER_UNIT=0
export JASMINE_SERVER_INTEGRATION=1
#export VELOCITY_DEBUG=1
echo "Running tests..."
meteor --test