1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-08-01 05:27:45 +00:00

Install Sphinx on Travis

This commit is contained in:
Alex Lyon 2018-06-08 17:15:44 -07:00 committed by Alex Lyon
parent 49fe4d2138
commit 7a875f0787
No known key found for this signature in database
GPG key ID: 3007E277CFE734D5

View file

@ -37,12 +37,21 @@ sudo: true
before_install:
- if [ $REDOX ]; then ./.travis/redox-toolchain.sh; fi
install:
- if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get install python-pip && sudo pip install sphinx; fi
- |
if [ $TRAVIS_OS_NAME = osx ]; then
brew update
brew upgrade python
pip3 install sphinx
fi
script:
- cargo build $CARGO_ARGS --features "$FEATURES"
- if [ ! $REDOX ]; then cargo test $CARGO_ARGS --features "$FEATURES" --no-fail-fast; fi
- mkdir installdir_test
- DESTDIR=installdir_test make install
- "[ `ls installdir_test/usr/bin | wc -l` -gt 0 ]"
- "[ `ls installdir_test/usr/local/bin | wc -l` -gt 0 ]"
addons:
apt: