Tell Travis to install the FBX SDK from elsewhere (#200)
We'll fetch release tarballs from another GitHub repo.
This commit is contained in:
parent
83e1cdc512
commit
e411f4165a
17
.travis.yml
17
.travis.yml
|
@ -1,3 +1,6 @@
|
||||||
|
git:
|
||||||
|
lfs_skip_smudge: true
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- os: linux
|
- os: linux
|
||||||
|
@ -5,20 +8,28 @@ matrix:
|
||||||
env:
|
env:
|
||||||
- APP_NAME="FBX2glTF-linux-x64"
|
- APP_NAME="FBX2glTF-linux-x64"
|
||||||
- CONAN_CONFIG="-s compiler.libcxx=libstdc++11"
|
- CONAN_CONFIG="-s compiler.libcxx=libstdc++11"
|
||||||
|
- FBXSDK_TARBALL="https://github.com/zellski/FBXSDK-Linux/archive/2019.2.tar.gz"
|
||||||
- os: osx
|
- os: osx
|
||||||
osx_image: xcode10.2
|
osx_image: xcode10.2
|
||||||
env:
|
env:
|
||||||
- APP_NAME="FBX2glTF-darwin-x64"
|
- APP_NAME="FBX2glTF-darwin-x64"
|
||||||
- CONAN_CONFIG="-s compiler=apple-clang -s compiler.version=10.0 -s compiler.libcxx=libc++"
|
- 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
|
compiler: gcc
|
||||||
language: generic
|
language: generic
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- ${HOME}/.conan
|
- ${HOME}/.conan
|
||||||
|
|
||||||
before_install:
|
addons:
|
||||||
- if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then brew install git-lfs; git lfs install; fi
|
apt:
|
||||||
|
packages: zstd
|
||||||
|
homebrew:
|
||||||
|
packages: zstd
|
||||||
|
|
||||||
install:
|
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
|
- git clone --depth 1 git://github.com/astropy/ci-helpers.git
|
||||||
- source ci-helpers/travis/setup_conda.sh
|
- source ci-helpers/travis/setup_conda.sh
|
||||||
- conda config --set always_yes yes
|
- conda config --set always_yes yes
|
||||||
|
@ -29,8 +40,6 @@ install:
|
||||||
- conan user
|
- conan user
|
||||||
- conan remote add --force bincrafters https://api.bintray.com/conan/bincrafters/public-conan
|
- conan remote add --force bincrafters https://api.bintray.com/conan/bincrafters/public-conan
|
||||||
|
|
||||||
before_script:
|
|
||||||
- git lfs pull
|
|
||||||
script:
|
script:
|
||||||
- conan install . -i build -s build_type=Release ${CONAN_CONFIG}
|
- conan install . -i build -s build_type=Release ${CONAN_CONFIG}
|
||||||
- conan build . -bf build
|
- conan build . -bf build
|
||||||
|
|
Loading…
Reference in New Issue