mirror of
https://github.com/roswell/roswell.git
synced 2026-09-10 07:16:17 -04:00
32 lines
1.5 KiB
YAML
32 lines
1.5 KiB
YAML
language: common-lisp
|
|
env:
|
|
global:
|
|
- PATH=~/.roswell/bin:$PATH
|
|
- ROSWELL_BRANCH=master
|
|
- ROSWELL_INSTALL_DIR=$HOME/.roswell
|
|
matrix:
|
|
- BREW="YES"
|
|
- BREW= LISP=sbcl
|
|
- BREW= LISP=ccl-bin
|
|
os:
|
|
- linux
|
|
- osx
|
|
|
|
before_install:
|
|
- if [ "$TRAVIS_OS_NAME" = "osx" ] && [ "$BREW" = "YES" ]; then brew update; fi
|
|
- if [ "$TRAVIS_OS_NAME" = "osx" ] && [ "$BREW" = "YES" ]; then brew --env; fi
|
|
- if [ "$TRAVIS_OS_NAME" = "osx" ] && [ "$BREW" = "YES" ]; then brew config; fi
|
|
install:
|
|
- if [ "$TRAVIS_OS_NAME" = "osx" ] && [ "$BREW" = "YES" ]; then brew tap snmsts/roswell; fi
|
|
|
|
script:
|
|
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$BREW" = "YES" ]; then find . \( -name \*.c -o -name \*.h \) -type f|xargs wc -l -c; fi
|
|
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$BREW" = "YES" ]; then find . \( -name \*.go \) -type f|xargs wc -l -c; fi
|
|
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$BREW" = "YES" ]; then find . \( -name \*.lisp -o -name \*.ros \) -type f|xargs wc -l -c; fi
|
|
- if [ "$TRAVIS_OS_NAME" = "osx" ] && [ "$BREW" = "YES" ]; then brew install roswell --verbose --HEAD; fi
|
|
- if [ "$BREW" != "YES" ]; then sh ./scripts/install-for-ci.sh; fi
|
|
- if [ "$TRAVIS_OS_NAME" = "osx" ] || [ "$BREW" != "YES" ]; then ros version; fi
|
|
- if [ "$TRAVIS_OS_NAME" = "osx" ] || [ "$BREW" != "YES" ]; then ros -v run -- --version; fi
|
|
- if [ "$TRAVIS_OS_NAME" = "osx" ] || [ "$BREW" != "YES" ]; then ros config; fi
|
|
- if [ "$TRAVIS_OS_NAME" = "osx" ] || [ "$BREW" != "YES" ]; then ros -s prove-asdf -e "(asdf:test-system :quri-test)"; fi
|