Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

Commit

Permalink
travis: fix python crud, use container infrastructure
Browse files Browse the repository at this point in the history
  • Loading branch information
misson20000 committed May 24, 2018
1 parent 0ecf4f8 commit 94fba67
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ env:
global:
- DEPS_DIR=${TRAVIS_BUILD_DIR}/deps
language: c
sudo: required
sudo: false
cache:
directories:
- ${DEPS_DIR}/doxygen/doxygen-1.8.11/bin
Expand Down Expand Up @@ -48,10 +48,12 @@ install:
- |
if [[ ${TRAVIS_OS_NAME} == "osx" ]]; then
export LLVM_POSTFIX="";
brew install llvm qemu lz4 python@3 squashfs jq
export PATH="/usr/local/opt/llvm/bin:/usr/local/opt/python@3/bin:$PATH";
brew install llvm qemu lz4 squashfs jq ;
brew upgrade python ;
export PATH="$(brew --prefix llvm)/bin:$(brew --prefix python3)/bin:$PATH";
fi
- pip3 install --user --upgrade pip setuptools wheel
# Travis has an OLD doxygen build, so we fetch a recent one
- export DOXY_BINPATH=${DEPS_DIR}/doxygen/doxygen-1.8.11/bin
- if [ ! -e "$DOXY_BINPATH/doxygen" ]; then mkdir -p ${DEPS_DIR}/doxygen; fi
Expand All @@ -62,7 +64,7 @@ install:
before_script:
- wget -nv https://github.com/reswitched/Mephisto/releases/download/v1.0.2/ctu_$TRAVIS_OS_NAME
- chmod +x ctu_$TRAVIS_OS_NAME
- sudo pip3 install -r requirements.txt
- pip3 install --user -r requirements.txt

script: make LD=ld.lld$LLVM_POSTFIX && LD=ld.lld$LLVM_POSTFIX make -C projects/ace_loader && make run_tests MEPHISTO=./ctu_$TRAVIS_OS_NAME

Expand Down

0 comments on commit 94fba67

Please sign in to comment.