Added ci specific e2e and test scripts

This commit is contained in:
Tom Bloor 2017-09-28 14:12:25 +01:00
parent ed738b287a
commit cea000b90c
4 changed files with 8 additions and 2 deletions

1
.gitignore vendored
View file

@ -45,6 +45,7 @@ testem.log
/src/environments/environment.local.ts
/src/environments/environment.prod.ts
/src/environments/environment.dev.ts
/src/environments/environment.ci.ts
# =========================
# Operating System Files

View file

@ -3,6 +3,8 @@ addons:
language: node_js
node_js:
- 8
before_install:
- openssl aes-256-cbc -K $encrypted_9d2af3734b6c_key -iv $encrypted_9d2af3734b6c_iv -in src/environments/environment.ci.ts.enc -out src/environments/environment.ci.ts -d
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start

View file

@ -10,10 +10,11 @@
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"test:once": "ng test --watch=false",
"test:ci": "ng test --watch=false --env=ci",
"lint": "ng lint",
"e2e": "ng e2e",
"ci": "npm run test:once && npm run e2e"
"e2e:ci": "ng e2e --env=ci",
"ci": "npm run test:ci && npm run e2e:ci"
},
"private": true,
"dependencies": {

View file

@ -0,0 +1,2 @@
ײֶ<67><D7B0>^f^ױ<>jA<6A>Fמ£†ֳ₪י$<24>אQםhֿ0<D6BF>L•+l™<6C>Dבג)9;
@¾&;q<>ƒט ©<C2A0>׀ iEֻײץֱװ0ו#ׂ¡<D782>ְְֵ<D6B0>׳bK<62>װס<D7B0>7<EFBFBD>U¦%¸x<C2B8>_x/6m‡=P <0C>q‡¶F™A$|װײ'Aט£½b1ױ<31><32>~הג/,אd¡×זLֲ”P<05>¢>S L