-
Notifications
You must be signed in to change notification settings - Fork 28
/
.travis.yml
35 lines (35 loc) · 946 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
language: node_js
node_js:
- "6"
env:
global:
- CXX=g++-4.8
- SAUCE_USERNAME=react-es6-redux
- SAUCE_ACCESS_KEY=e5996a82-a35b-4707-b324-79fe310d5ab3
addons:
sauce_connect: true
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install:
- echo "Updating npm (need at least v3), because of the following problem - https://github.com/npm/npm/issues/11088"
- npm update -g
- npm --version
- time npm i -g [email protected] --cache-min 999999999
install:
- time yarn
before_script:
- npm run build-prod-all-owner
- npm run build-travis
- "npm run serve-dist > /dev/null &"
script:
- echo "UNIT TESTS - via karma - with code coverage"
- npm test
- echo "UNIT TESTS - via mocha"
- npm run mocha
- echo "END 2 END TESTS - via protractor / through SauceLabs"
- npm run test-e2e -- --port 3000
after_success:
- cat ./build/reports/coverage/**/lcov.info | ./node_modules/.bin/coveralls