travis_script.sh 338 B

1234567891011121314151617181920
  1. #!/bin/bash
  2. set -ex
  3. export DISPLAY=:99.0
  4. sh -e /etc/init.d/xvfb start || true
  5. npm run clean
  6. npm run build
  7. npm run build:examples
  8. npm test
  9. npm run test:coverage
  10. export PATH="$HOME/miniconda/bin:$PATH"
  11. npm run test:integration
  12. pushd examples/node
  13. python main.py
  14. popd
  15. if [[ $TRAVIS_NODE_VERSION == "5.1" ]]; then
  16. npm run docs
  17. fi