summaryrefslogtreecommitdiff
path: root/scripts/travis-ci.sh
blob: 9d4258ae625866958e3c2ce2b26bc8753a009c80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash

qmake && make -j4
if [[ $? != 0 ]]; then
  echo "Error building OpenSCAD executable"
  exit 1
fi
cd tests
cmake . 
if [[ $? != 0 ]]; then
  echo "Error configuring test suite"
  exit 1
fi
make -j2
if [[ $? != 0 ]]; then
  echo "Error building test suite"
  exit 1
fi
ctest -j8
if [[ $? != 0 ]]; then
  echo "Test failure"
  exit 1
fi
contact: Jan Huwald // Impressum