#!/bin/bash pushd thirdparty/tiff-4.0.3 CFLAGS="-fPIC" CXXFLAGS="-fPIC" ./configure --disable-jbig && make popd cd toonz && mkdir build && cd build source /opt/qt55/bin/qt55-env.sh cmake ../sources # according to https://docs.travis-ci.com/user/ci-environment/#Virtualization-environments # travis can offer up to 2 cores in burst, try using that make -j 2