1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-31 04:57:45 +00:00

Merge pull request #1218 from Arcterus/bytes

Fix .travis.yml
This commit is contained in:
cnd 2018-06-12 09:24:06 +04:00 committed by GitHub
commit 8297a64a93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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: