• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/sh -e
2
3LIBNAME="$1"
4OS_TYPE="$2"
5
6export INSIDE_DOCKER="1"
7export TRAVIS_BUILD_DIR="/$LIBNAME"
8
9cd /$LIBNAME
10
11if [ -d "/$LIBNAME/CI" ] ; then
12	CI="/$LIBNAME/CI"
13elif [ -d "/$LIBNAME/ci" ] ; then
14	CI="/$LIBNAME/ci"
15else
16	echo "No CI/ci directory present"
17	exit 1
18fi
19
20$CI/travis/before_install_linux "$OS_TYPE"
21
22$CI/travis/make_linux "$OS_TYPE"
23
24# need to find this out inside the container
25. $CI/travis/lib.sh
26echo "$(get_ldist)" > /${LIBNAME}/build/.LDIST
27