mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-31 04:57:45 +00:00
commit
8297a64a93
1 changed files with 10 additions and 1 deletions
11
.travis.yml
11
.travis.yml
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue