Enable caching; grab git-lfs.

This commit is contained in:
Par Winzell 2019-05-13 18:19:59 -07:00
parent 8e347dba7e
commit 1a43bfca2e
1 changed files with 10 additions and 0 deletions

View File

@ -12,6 +12,12 @@ matrix:
- 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++"
compiler: gcc compiler: gcc
language: generic language: generic
cache:
directories:
- .conan
before_install:
- brew install git-lfs
install: install:
- 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
@ -22,10 +28,14 @@ install:
- pip install conan - pip install conan
- conan user - conan user
- conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan - conan remote add 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
- mv build/FBX2glTF build/${APP_NAME} - mv build/FBX2glTF build/${APP_NAME}
notifications: notifications:
webhooks: webhooks:
- "https://code.facebook.com/travis/webhook/" - "https://code.facebook.com/travis/webhook/"