diff --git a/.travis.yml b/.travis.yml index baa44641bf305c3dfa17723f06b7470720241cfb..ce830694f59a945136dfd0ffc0c49bc4c80168d8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,42 +5,22 @@ cache: - $HOME/.cache/pip sudo: required dist: trusty -matrix: - include: - os: linux - addons: - apt: - packages: - - gcc-4.8 - - g++-4.8 - - git - - python - - python-pip - - python2.7-dev - - python-wheel - - clang-format-3.8 - - ccache - - npm - - nodejs - script: - /bin/bash ./tests.sh backend - - include: - os: linux - addons: - apt: - packages: - - gcc-4.8 - - g++-4.8 - - git - - python - - python-pip - - python2.7-dev - - python-wheel - - npm - - nodejs - script: - /bin/bash ./tests.sh frontend +os: + - linux +addons: + apt: + packages: + - gcc-4.8 + - g++-4.8 + - git + - python + - python-pip + - python2.7-dev + - python-wheel + - clang-format-3.8 + - ccache +script: + /bin/bash ./tests.sh all notifications: email: diff --git a/tests.sh b/tests.sh index b12022329779f57aea492fd15ccb9b6509935a1d..ef5e4300b0659c0612e5d14285be08a9a0899de2 100644 --- a/tests.sh +++ b/tests.sh @@ -22,6 +22,9 @@ echo "mode" $mode if [ $mode = "backend" ]; then backend_test +elif [ $mode = "all" ]; then + frontend_test + backend_test else frontend_test fi