forked from andresgalante/patternfly-next
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
37 lines (29 loc) · 713 Bytes
/
.travis.yml
File metadata and controls
37 lines (29 loc) · 713 Bytes
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
language: node_js
node_js:
- "8"
sudo: required
addons:
chrome: stable
cache: false
deploy:
provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
keep-history: true
on:
branch: master
local_dir: public
before_script:
- wget https://chromedriver.storage.googleapis.com/2.46/chromedriver_linux64.zip
- unzip chromedriver_linux64.zip -d /home/travis/bin/
- export CHROME_BIN=chromium-browser
- npm install -g gulp-cli
script:
- npm run test:ci
- npm run lint:styles
- npm run build-ghpages
- npm run build-patternfly
after_success:
- ./build/deploy.sh
before_deploy:
- cd $TRAVIS_BUILD_DIR