.travis.yml 774 Bytes
Newer Older
Kevin Dietrich's avatar
Kevin Dietrich committed
1
language: node_js
Pavel Reznikov's avatar
Pavel Reznikov committed
2
node_js:
3
- 7.7.2
Pavel Reznikov's avatar
Pavel Reznikov committed
4
env:
Pavel Reznikov's avatar
Pavel Reznikov committed
5
- CXX=g++-4.8
Pavel Reznikov's avatar
Pavel Reznikov committed
6
addons:
Pavel Reznikov's avatar
Pavel Reznikov committed
7
8
9
10
11
  apt:
    sources:
    - ubuntu-toolchain-r-test
    packages:
    - g++-4.8
Pavel Reznikov's avatar
Pavel Reznikov committed
12
before_install:
Pavel Reznikov's avatar
Pavel Reznikov committed
13
- npm install -g protractor@3.3.0
Pavel Reznikov's avatar
Pavel Reznikov committed
14
install:
Pavel Reznikov's avatar
Pavel Reznikov committed
15
16
17
- npm install -g npm@2
- npm install -g grunt-cli
- npm install -g bower
Pavel Reznikov's avatar
Pavel Reznikov committed
18
- npm install selenium-webdriver
Pavel Reznikov's avatar
Pavel Reznikov committed
19
20
21
- bower install
- npm install
- ./node_modules/protractor/bin/webdriver-manager update --standalone
Kevin Dietrich's avatar
Kevin Dietrich committed
22
before_script:
Pavel Reznikov's avatar
Pavel Reznikov committed
23
24
25
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
Kevin Dietrich's avatar
Kevin Dietrich committed
26
script:
Pavel Reznikov's avatar
Pavel Reznikov committed
27
28
- npm run build
- npm test
Pavel Reznikov's avatar
Pavel Reznikov committed
29
# - grunt e2e-test
Pavel Reznikov's avatar
Pavel Reznikov committed
30
31
32
notifications:
  slack:
    secure: iGLGsYyVIyKVpVVCskGh/zc6Pkqe0D7jpUtbywSbnq6l5seE6bvBVqm0F2FSCIN+AIC+qal2mPEWysDVsLACm5tTEeA8NfL8dmCrAKbiFbi+gHl4mnHHCHl7ii/7UkoIIXNc5UXbgMSXRS5l8UcsSDlN8VxC5zWstbJvjeYIvbA=