.travis.yml 980B

123456789101112131415161718192021222324252627282930313233
  1. language: node_js
  2. node_js:
  3. - 8
  4. env:
  5. - NODE_ENV=test CXX="g++-4.8" CC="gcc-4.8"
  6. services:
  7. sudo: required
  8. dist: trusty
  9. addons:
  10. apt:
  11. sources:
  12. - ubuntu-toolchain-r-test
  13. packages:
  14. - g++-4.8
  15. - gcc-4.8
  16. - clang
  17. before_install:
  18. - sudo chmod -R 777 /var/cache/debconf
  19. - sudo echo arangodb3 arangodb3/password password somepwd | debconf-set-selections
  20. - sudo echo arangodb3 arangodb3/password_again password somepwd | debconf-set-selections
  21. - curl -O https://download.arangodb.com/arangodb32/xUbuntu_14.04/Release.key
  22. - sudo apt-key add - < Release.key
  23. - echo 'deb https://download.arangodb.com/arangodb32/xUbuntu_14.04/ /' | sudo tee /etc/apt/sources.list.d/arangodb.list
  24. - sudo apt-get install apt-transport-https
  25. - sudo apt-get update
  26. - sudo apt-get install arangodb3=3.2.6
  27. before_script:
  28. - cp ./config/secret/sample.js ./config/secret/test.js
  29. - npm run init-db-standalone
  30. - npm run init
  31. script:
  32. - npm run lint
  33. - npm run test-all