-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
26 lines (26 loc) · 1.29 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
language: node_js
node_js:
- 8.10.0
addons:
apt:
packages:
- libgconf-2-4
cache:
directories:
- "$HOME/.cache"
addons:
apt:
packages:
- libgconf-2-4
install:
- yarn install --frozen-lockfile
- yarn cy:verify
- yarn build
script:
- PORT=8081 REACT_APP_CYPRESS=true REACT_APP_DHIS2_BASE_URL=http://dev2.eyeseetea.com:8082 yarn start &
- yarn run wait-on http-get://localhost:8081
- CYPRESS_EXTERNAL_API=http://dev2.eyeseetea.com:8082 CYPRESS_ROOT_URL=http://localhost:8081 yarn cy:e2e:run --record --key $CYPRESS_KEY
- kill $(jobs -p) || true
notifications:
slack:
secure: M1d8Xkw7PRULohfhArw1CKAvjjvGsOv7SdzbZ7HiXqJm8UGgC0MvNMx+7+CmyMNAQBhXhUCf8bIthpR0QQcHIywXlTMMGwfu+AalkLSWkm6rQ28GVIZpy52vqmvjNThZnwWZO9gIZvChIQ4bvr3odKWXbDdCLZ5sybjih+hTPekB4Pgii3h5fYm6PjV6DANtCvChkBV21DvLd0x3q0CydnlcQzst6NbmJpZUS0fgnLaNhTX79wuWZDWwF5cZXuIzdhH4ff8eJVYpkuK7NzTPYntOwuoeXJdvXoZIvCrnf1jvfRXnr7wJUKBA9v0Lnpu0+bboHziNxJfg8VzdUVV049XkcwbtF6gSFMGt/oz488kYVi6rwmn3Jk8F9kmZaKWdVtJibyV0cSjE5fyWtOXWBYFi4BfrzVa4hqEYwdqdK9qgI9XbTgAvj5q1wg+jol70CUil6+XzdMMOFEXx9uXGziuuA8bVgmFqxI6d4AnvXVi/sHpAlMP5zEZfPnHAKOSK7T6hi0LeJ/ZHmZyg01V3ZAW5vBBSXyhWrRcU0KOyjCei74XAxZlc0inpjqZOForBKjqZ3GUs2pcKy7Cdxp71J8M5LEEUiICHjBjpmgUXPegXZhSc77V3SATOspck83Jci4SDrCFZ6CscB4uxIRM47VElX4Y5J3FoLLt1Jq4CKEU=