This repository has been archived by the owner on Aug 31, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
43 lines (43 loc) · 3 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
services:
- docker
language: scala
env:
global:
- DOCKER_ID=fiware
- DOCKER_REPO=ngsi-ld_wrapper
- TAG=latest
jobs:
include:
- stage: test
script:
- sbt test
- stage: functest
node_js:
- 8
install:
- npm install newman
- docker run --name mongodb -d mongo:3.4
- docker run -d --name orion1 --link mongodb:mongodb -p 1026:1026 fiware/orion
-dbhost mongodb
- sbt assembly
before_script:
- export NGSI_Endpoint=http://localhost:1026
- nohup java -jar target/scala-2.12/NGSI-LD_Wrapper-assembly-0.1.jar&
script:
- node_modules/.bin/newman run test/functional/NGSI-LD_Wrapper.postman_collection.json
- stage: docker
if: branch IN (master) AND NOT type IN (pull_request) and repo in (Fiware/NGSI-LD_Wrapper)
env:
- secure: A/IC/1bHLBuEkLR4oGq8BvQl1731zEnf2S34DBYEUN/nOnbB4tUOaDCXiALvfrP4ABifa/uj+90NwNBrvlmF3+5XU3sbedyChlVZllYk7fN72XuuN94CW5CFUvVR6m3aPW/27gSamf5uq/iAodgw15OnWnazpg0UCUXHMGz/iP3hy6/yMm6gLPJM4/mA/BrnBev54dxTHmsQHqfvkLhJ3Sxsn5i+sDBqVRlBQxJfN9IgSkbPqUR8m8CGur5YDB1slJ5U0qe855Y3sOSO7dKN4mKBmdcWG8D9avLJ4wR/srNBZ8haL/yy+jfqkGkTt7akeFmJMgTiMUpdqnTo2gAGRF31iktbvuRAwzI+mkt2JHuAVhHluvegFhau4rJjaMNyqBfEPFcdJzL5vPc8Kahg11ganqIKUch90H2jS6nOJXgIpr+oGCyqpo8pCe8yhNCanTESvnDClas7JWR4yTZ0RhF7iC0UQRDrsQzuzhJzs3Z5s/dT2ORSMwNMJe36tcp28FxzGpPW1u5arXtmPIHhODox0A1ILiwygaNu+hJVVFB+VHHIqdc4/je3Y2TCDD5O/VbMiYt0v18/Yl08iljaR2Bj+UqSb2IMr6RsaxDzv/1b0n0eE+DSXAWTSeLta3ruo3WSxekyo8qrQaEq6LQfo947N9naxYzhH48OBtb3O1s=
- secure: kgQYDuT8ZUYZK842XZBLrEfWMYme7bq7euuT5yPsbIzwyJ+yn6Us4ocSQN5xLQVYrbFczV0QgPtIw3vrerxNyt9ZM4Z5DOxCaMHsxFp4144M1CVIq6Yrvf4zhIpKiyZi9IwWfJ2GPjYHTPUncScLrP9IC3sRDdImdBza50+DGHETF+4jkYgE2SX0XrYAyLuBYhAbpyyaAWQj4d6J8DBL/K79MyaLYXeSp0J/PKemWJh71dVdIDf/6r0+Fb4hbG39Vqzx21uEDhDs7m1wSx6wqq8YqshEfZuHv1AvVze7RvUF9LOqeOTNZWRAW7ZJsdkrat2Zop3m4vrOShJP5yCR/Ek6psUSg3hNCb1fZ3/YepxiNW1dKzQRYy5ikBvewLYJ2DxvbB+7H59eQzTh4s9WFCBHRkNbnWIkWAs2zdQtprrb3kyOWGsuW5e4AWVDmJB46pHlgCu/SIfY2FP02v7+fEsjFmFbyB7mJFLlJPCtPcx8b53mD2vnU0lme8EXJ3Jf9NPXGBVzADG4atRGA+ifS624ONqajNi+aeWN7Yl2mQZ6zEg2peskjH2AQe9WHJo4Ai583tBHsJDEyiwEW03jFoQSOe+y3Mo5CRvCsPWNuFzHoqzch/jw2JbKEtEuoSW2GbMs8joMMc2pnTW4tV8JMZ7VqwedgTSzTq5VmXBBZlw=
script:
- sbt docker:publishLocal
- bash docker.sh
notifications:
on_success: change
on_failure: always
webhooks:
on_success: always
on_failure: never
urls:
secure: MByWEd0npBbTNvTNqi7k48wF573QRq64i7u5OOlqsFXLlJEamD1bsZ8iocsySCza+j1L85BNGcrmnpi0GdiZzjBrhh/c43G3XtZtwHwSW+NbnSgKeEiPS+Y0H4L8/E4uEuTPv/cnftYN+1ziBvVJ3lUQ+NMQ2t8uo62thj6dBfwFuj0xNFCbKV0IRQFXvxlhyR+TUYos/AUkqsbBHyG6Qy/bSL+LNVmzO86ZAKEjn+nqH6z0IdOLY9Zh/GsO4b8Bi58JhSyGY+h2sZ9RbXOsUBq+wilLEZ2dDcemSRpoq1RocFOIUDiLJgdKIeONgdA6yohE6vAEpodyKi5kY80hYQ1WbG/IdYjlDjPmcLYrN+qSuyz9FQRsxT6BRWShcgz1rlcFg/+jgFjoP1qyIAEOcpzsOByZhxLE8BG9gCRsj4S4pz9bwDIh1qzrVY7WaeAmvj6TNE/IalRg8GMKsdJOASGxTQc1TfptmzRGaMGWa3BpWBhmCda/yOp6bzNnpa8ZKbkC5dWXryAMQsOMjIS4kCkvuZhZ6V7BuxduOpWEa2AwEpyvTPOuEm7ZSso/6m6cB9riX49o09e2FoICj87V3LI+WjmqA/yzGlCSdGy2ipi1hqZT1lhE1dJ/QL1hF7QB6z4A6Zx5NAYpHJQVGJHRJpClwZ0FnAmDT36FO6TpAv4=