mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-13 00:26:00 +00:00
Travis.yml: Fix pip and cache it on OSX
This commit is contained in:
parent
32c0caab61
commit
bc360f7a79
@ -9,6 +9,9 @@ sudo: false
|
|||||||
language:
|
language:
|
||||||
- cpp
|
- cpp
|
||||||
|
|
||||||
|
python:
|
||||||
|
- "2.7"
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- BUILD_TYPE=Debug
|
- BUILD_TYPE=Debug
|
||||||
- BUILD_TYPE=Release
|
- BUILD_TYPE=Release
|
||||||
@ -16,6 +19,9 @@ env:
|
|||||||
compiler:
|
compiler:
|
||||||
- clang
|
- clang
|
||||||
|
|
||||||
|
cache:
|
||||||
|
- pip
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
# Everything under apt is only used on linux
|
# Everything under apt is only used on linux
|
||||||
apt:
|
apt:
|
||||||
@ -47,7 +53,7 @@ before_install:
|
|||||||
install:
|
install:
|
||||||
# Install dependencies required on OSX
|
# Install dependencies required on OSX
|
||||||
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install ninja; fi
|
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install ninja; fi
|
||||||
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then sudo python -m pip install jinja2; fi
|
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then pip install --user jinja2; fi
|
||||||
|
|
||||||
script:
|
script:
|
||||||
# Use the more recent compilers we just installed
|
# Use the more recent compilers we just installed
|
||||||
|
Loading…
x
Reference in New Issue
Block a user