forked from tsvetomir/angular-localized-component
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
49 lines (49 loc) · 1.15 KB
/
.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
sudo: false
language: node_js
cache:
directories:
- node_modules
- typings
notifications:
email: false
webhooks:
urls:
- https://chatops.telerik.com/hooks/WRz8C2rQcmRtJ8WuZ/v8yugPDm9Zne88nJWLBCTgxAsFcDmQoJBYes3qWE2RYtXjXE
on_success: change
on_failure: always
on_start: never
node_js:
- '6'
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install:
- npm i -g npm@^3.8.0
- echo "@progress:registry=https://$PROGRESS_REGISTRY_HOST/" > .npmrc
- echo "//$PROGRESS_REGISTRY_HOST/:_authToken=\"$PROGRESS_REGISTRY_TOKEN\"" >> .npmrc
before_script:
- "npm prune"
- "npm update"
- "export CHROME_BIN=chromium-browser"
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- "sleep 3" # give xvfb some time to start
script:
- npm run typings
- npm run lint
- npm run test
- npm run e2e
- npm run build-package
- npm run api-check
after_success:
# Enable after making an initial 0.x release
# Otherwise semantic-release will release 1.0.0 right away
# - npm run semantic-release
branches:
except:
- "/^v\\d+\\.\\d+\\.\\d+$/"