2016-09-15 09:33:48 +03:00
|
|
|
sudo: false
|
2017-11-27 02:01:00 +02:00
|
|
|
|
2017-11-27 00:03:55 +02:00
|
|
|
addons:
|
2017-11-27 00:18:04 +02:00
|
|
|
chrome: stable
|
2017-11-27 02:01:00 +02:00
|
|
|
|
2016-09-15 09:14:15 +03:00
|
|
|
language: node_js
|
2017-11-27 02:01:00 +02:00
|
|
|
|
2016-09-15 10:37:10 +03:00
|
|
|
node_js:
|
2017-11-26 20:19:03 +02:00
|
|
|
- "8.9.1"
|
2017-11-27 02:01:00 +02:00
|
|
|
|
2016-09-15 09:14:15 +03:00
|
|
|
before_install:
|
2017-11-26 20:19:03 +02:00
|
|
|
- curl https://install.meteor.com/?release=1.6 | /bin/sh
|
2016-09-15 09:33:48 +03:00
|
|
|
- export PATH="$HOME/.meteor:$PATH"
|
2017-11-27 02:01:00 +02:00
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- ~/.npm
|
|
|
|
- "node_modules"
|
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|
|
|
|
|
2017-11-27 18:25:10 +02:00
|
|
|
before_script:
|
|
|
|
- "export DISPLAY=:99.0"
|
|
|
|
- "sh -e /etc/init.d/xvfb start"
|
|
|
|
|
2016-09-15 09:33:48 +03:00
|
|
|
script:
|
2017-11-27 18:12:21 +02:00
|
|
|
- meteor create --bare test
|
|
|
|
- cd test
|
|
|
|
- meteor npm i --save selenium-webdriver chromedriver
|
|
|
|
- METEOR_PACKAGE_DIRS="../" TEST_BROWSER_DRIVER=chrome meteor --once test-packages --driver-package meteortesting:mocha ../
|