From e411f4165a194fa50fc83cbf145e450f181fbf4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A4r=20Winzell?= Date: Fri, 31 May 2019 22:59:10 -0700 Subject: [PATCH] Tell Travis to install the FBX SDK from elsewhere (#200) We'll fetch release tarballs from another GitHub repo. --- .travis.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9387a93..7a103f2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,6 @@ +git: + lfs_skip_smudge: true + matrix: include: - os: linux @@ -5,20 +8,28 @@ matrix: env: - APP_NAME="FBX2glTF-linux-x64" - CONAN_CONFIG="-s compiler.libcxx=libstdc++11" + - FBXSDK_TARBALL="https://github.com/zellski/FBXSDK-Linux/archive/2019.2.tar.gz" - os: osx osx_image: xcode10.2 env: - APP_NAME="FBX2glTF-darwin-x64" - CONAN_CONFIG="-s compiler=apple-clang -s compiler.version=10.0 -s compiler.libcxx=libc++" + - FBXSDK_TARBALL="https://github.com/zellski/FBXSDK-Darwin/archive/2019.2.tar.gz" compiler: gcc language: generic cache: directories: - ${HOME}/.conan -before_install: -- if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then brew install git-lfs; git lfs install; fi +addons: + apt: + packages: zstd + homebrew: + packages: zstd + install: +- curl -sL "${FBXSDK_TARBALL}" | tar xz --strip-components=1 +- zstd -d -r --rm sdk - git clone --depth 1 git://github.com/astropy/ci-helpers.git - source ci-helpers/travis/setup_conda.sh - conda config --set always_yes yes @@ -29,8 +40,6 @@ install: - conan user - conan remote add --force bincrafters https://api.bintray.com/conan/bincrafters/public-conan -before_script: -- git lfs pull script: - conan install . -i build -s build_type=Release ${CONAN_CONFIG} - conan build . -bf build