mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(): add shippable.yml
This commit is contained in:
22
.shippable.yml
Normal file
22
.shippable.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
language: node_js
|
||||
node_js:
|
||||
- 0.10.26
|
||||
env:
|
||||
- SNAPSHOT_BROWSER=chrome SNAPSHOT_BROWSER=safari
|
||||
- SNAPSHOT_BROWSER_ID=chrome_desktop_narrow SNAPSHOT_BROWSER_ID=safari_desktop_narrow
|
||||
- SNAPSHOT_WIDTH=400
|
||||
- SNAPSHOT_HEIGHT=800
|
||||
- IONIC_SNAPSHOT_KEY=5f731d560dfa487e8746be878cfe6279
|
||||
|
||||
before_install:
|
||||
- npm install -g protractor gulp
|
||||
script:
|
||||
SNAPSHOT_TEST_ID=$(git rev-parse HEAD)
|
||||
|
||||
gulp demos --demo-version=nightly
|
||||
protractor config/protractor.conf.js \
|
||||
--browser "$SNAPSHOT_BROWSER" \
|
||||
--params.platform_id="$SNAPSHOT_BROWSER_ID" \
|
||||
--params.width="$SNAPSHOT_WIDTH" \
|
||||
--params.height="$SNAPSHOT_HEIGHT" \
|
||||
--params.test_id="$SNAPSHOT_TEST_ID"
|
||||
Reference in New Issue
Block a user