]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Removed all builds. Only indent test.
authorLuca Heltai <luca.heltai@sissa.it>
Mon, 25 Aug 2014 14:28:01 +0000 (16:28 +0200)
committerLuca Heltai <luca.heltai@sissa.it>
Mon, 25 Aug 2014 14:29:30 +0000 (16:29 +0200)
.travis.yml
contrib/utilities/run_travis.sh
contrib/utilities/setup_travis.sh [deleted file]

index f8ba47b8eaea1ba6fa1aa19f80cc1656173d49cd..e069ae550787fbf6553eee85c204f22145e93560 100644 (file)
@@ -1,30 +1,10 @@
 language: C++
 
-before_install: ./contrib/utilities/setup_travis.sh
-
-os:
-- linux
-- mac
-
 compiler: 
-- clang
 - gcc
 
-script: ./contrib/utilities/run_travis.sh $CI_TEST_SUITE $CI_BUILD_TYPE
+script: ./contrib/utilities/run_travis.sh 
 
 branches:
   only:
     - master
-
-env:
-#  This is way too long. We should find a way to do this in little pieces...
-#  - CI_TEST_SUITE=tests 
-
-#  These tests run ok, but they might be out of policy...
-  - CI_TEST_SUITE=build CI_BUILD_TYPE=Debug
-  - CI_TEST_SUITE=indent
-#  - CI_TEST_SUITE=build CI_BUILD_TYPE=Release
-
-# These tests only compile and run "make tests"
-#  - CI_TEST_SUITE=mini CI_BUILD_TYPE=Debug
-#  - CI_TEST_SUITE=mini CI_BUILD_TYPE=Release
index 5d9ac762154c1e8fc37170827fd3cb9717947923..a6b2ca58ca3142e56a890d9463bfcf24f16db604 100755 (executable)
@@ -1,32 +1,17 @@
 #!/bin/sh
-case $1 in
-build)
-    if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then 
-       echo "Running build tests."
-       mkdir build_test 
-       cd build_test
-       ctest -DCMAKE_BUILD_TYPE=$2 -V -j4 -S ../tests/run_buildtest.cmake
-    else 
-       echo "Build test is only run when merging to master branch. Exiting."
-    fi
-    ;;
-indent)
-     if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then 
+
+if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then 
        echo "Running indentation test on master merge."
-     else 
-        echo "Running indentation test on Pull Request #${TRAVIS_PULL_REQUEST}"
-     fi
-     wget http://downloads.sourceforge.net/project/astyle/astyle/astyle%202.04/astyle_2.04_linux.tar.gz > /dev/null
-     tar xvfz astyle_2.04_linux.tar.gz > /dev/null
-     pushd astyle/build/gcc
-     make -j4 > /dev/null
-     popd
-     export PATH=`pwd`/astyle/build/gcc/bin:$PATH
-     ./contrib/utilities/indent
-     git diff-files --quiet || (git diff && failing_missing_command)   
-     ;;
-*)
-    echo "Unrecognized test type! [$1]"
-    exit 1
-esac
+else 
+       echo "Running indentation test on Pull Request #${TRAVIS_PULL_REQUEST}"
+fi
 
+wget http://downloads.sourceforge.net/project/astyle/astyle/astyle%202.04/astyle_2.04_linux.tar.gz > /dev/null
+tar xvfz astyle_2.04_linux.tar.gz > /dev/null
+cd astyle/build/gcc
+make -j4 > /dev/null
+cd ../../../
+export PATH=`pwd`/astyle/build/gcc/bin:$PATH
+./contrib/utilities/indent
+git diff
+git diff-files --quiet 
diff --git a/contrib/utilities/setup_travis.sh b/contrib/utilities/setup_travis.sh
deleted file mode 100755 (executable)
index ec39454..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#/bin/sh -f
-# things to do for travis-ci in the before_install section
-if ( test "`uname -s`" = "Darwin" )
-then
-  #cmake v2.8.12 is installed on the Mac workers now
-  #brew update
-  #brew install cmake
-  echo
-else
-  #install a newer cmake since at this time Travis only has version 2.8.7
-  sudo apt-get install build-essential
-  echo "yes" | sudo add-apt-repository ppa:kalakris/cmake
-  sudo apt-get update -qq
-  sudo apt-get install cmake
-fi

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.