File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 2
2
# main script of travis
3
3
4
4
if [ ${TASK} == " lint" ]; then
5
- make lint || travis_terminate 1
5
+ make lint || exit 1
6
6
fi
7
7
8
8
if [ ${TASK} == " build" ]; then
9
- make DEPS_PATH=${CACHE_PREFIX} CXX=${CXX} || travis_terminate 1
9
+ make DEPS_PATH=${CACHE_PREFIX} CXX=${CXX} || exit 1
10
10
fi
11
11
12
12
if [ ${TASK} == " test" ]; then
13
- make tests DEPS_PATH=${CACHE_PREFIX} CXX=${CXX} || travis_terminate 1
13
+ make tests DEPS_PATH=${CACHE_PREFIX} CXX=${CXX} || exit 1
14
14
cd tests
15
15
# single-worker tests
16
16
tests=( test_connection test_dynamic_allocation test_locality_api )
@@ -32,11 +32,11 @@ if [ ${TASK} == "test" ]; then
32
32
33
33
cd ..
34
34
35
- make apps DEPS_PATH=${CACHE_PREFIX} CXX=${CXX} || travis_terminate 1
35
+ make apps DEPS_PATH=${CACHE_PREFIX} CXX=${CXX} || exit 1
36
36
37
- python tracker/dmlc_local.py -n 0 -s 2 build/apps/matrix_factorization --dataset apps/data/mf/ -r 2 --num_keys 12 --epochs 10 || travis_terminate 1
37
+ python tracker/dmlc_local.py -n 0 -s 2 build/apps/matrix_factorization --dataset apps/data/mf/ -r 2 --num_keys 12 --epochs 10 || exit 1
38
38
39
- python tracker/dmlc_local.py -n 0 -s 2 build/apps/knowledge_graph_embeddings --dataset apps/data/kge/ --num_entities 280 --num_relations 112 --num_epochs 4 --embed_dim 100 --eval_freq 2 || travis_terminate 1
39
+ python tracker/dmlc_local.py -n 0 -s 2 build/apps/knowledge_graph_embeddings --dataset apps/data/kge/ --num_entities 280 --num_relations 112 --num_epochs 4 --embed_dim 100 --eval_freq 2 || exit 1
40
40
41
- python tracker/dmlc_local.py -n 0 -s 2 build/apps/word2vec --num_threads 2 --negative 2 --binary 1 --num_keys 4970 --embed_dim 10 --input_file apps/data/lm/small.txt --num_iterations 4 --window 2 --localize_pos 1 --localize_neg 1 --data_words 10000 || travis_terminate 1
41
+ python tracker/dmlc_local.py -n 0 -s 2 build/apps/word2vec --num_threads 2 --negative 2 --binary 1 --num_keys 4970 --embed_dim 10 --input_file apps/data/lm/small.txt --num_iterations 4 --window 2 --localize_pos 1 --localize_neg 1 --data_words 10000 || exit 1
42
42
fi
You can’t perform that action at this time.
0 commit comments