summaryrefslogtreecommitdiff
path: root/.travis/cmake-freebsd-stage1
blob: 3954e2af8614de13e97dae8f08a02ca859fa0ebb (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/sh

ACTION="$1"

set -eu

. other/travis/env.sh
. other/travis/env-freebsd.sh

travis_install() {
  . other/travis/freebsd-install
  . other/travis/freebsd-install-stage1
}

travis_script() {
  echo "Nothing to do here. Building happens in stage 2."
}

if [ "-z" "$ACTION" ]; then
  "travis_script"
else
  "travis_$ACTION"
fi