From 9e97a8a45a395481e30c9f7110245aa7a08dc0e1 Mon Sep 17 00:00:00 2001 From: Przemyslaw Skibinski Date: Thu, 16 Feb 2017 13:36:12 +0100 Subject: [PATCH] check $CIRCLE_NODE_INDEX --- circle.yml | 42 ++++++++++++++++++++++-------------------- 1 file changed, 22 insertions(+), 20 deletions(-) diff --git a/circle.yml b/circle.yml index 2f531a91f..c04dd46b3 100644 --- a/circle.yml +++ b/circle.yml @@ -8,27 +8,29 @@ dependencies: test: override: # Tests compilers and C standards - - clang -v; make clangtest && make clean - - g++ -v; make gpptest && make clean - - gcc -v; make gnu90test && make clean - - gcc -v; make c99test && make clean - - gcc -v; make gnu99test && make clean - - gcc-5 -v; make gcc5test && make clean - - gcc-6 -v; make gcc6test && make clean + - [[ "$CIRCLE_NODE_INDEX" == "0" ]] && clang -v && make clangtest && make clean + parallel: true + #- g++ -v; make gpptest && make clean + #- gcc -v; make gnu90test && make clean + #- gcc -v; make c99test && make clean + #- gcc -v; make gnu99test && make clean + #- gcc-5 -v; make gcc5test && make clean + #- gcc-6 -v; make gcc6test && make clean # Shorter tests - - make cmaketest && make clean - - make -C lib all && make clean - - make -C tests dll && make clean - - make -C tests test-zstd && make clean - - make -C tests test-fullbench && make clean - - make -C tests test-fuzzer && make clean - - make -C tests test-zstream && make clean - - make -C tests test-invalidDictionaries && make clean - - make -C tests test-legacy && make clean - - make -C tests test-symbols && make clean - - make -C tests test-longmatch && make clean - - make -C programs zstd-small zstd-decompress zstd-compress && make -C programs clean - - make travis-install && make clean + - if [[ "$CIRCLE_NODE_TOTAL" < "2" ] || [ "$CIRCLE_NODE_INDEX" == "1" ]] && make cmaketest && make clean + parallel: true + #- make -C lib all && make clean + #- make -C tests dll && make clean + #- make -C tests test-zstd && make clean + #- make -C tests test-fullbench && make clean + #- make -C tests test-fuzzer && make clean + #- make -C tests test-zstream && make clean + #- make -C tests test-invalidDictionaries && make clean + #- make -C tests test-legacy && make clean + #- make -C tests test-symbols && make clean + #- make -C tests test-longmatch && make clean + #- make -C programs zstd-small zstd-decompress zstd-compress && make -C programs clean + #- make travis-install && make clean # Longer tests #- make -C tests test-zstd-nolegacy && make clean #- pyenv global 3.4.4; make -C tests versionsTest && make clean