-
Notifications
You must be signed in to change notification settings - Fork 11
/
.travis.yml
22 lines (19 loc) · 862 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
env:
- DOCKER_COMPOSE_VERSION=1.23.2
before_install:
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
before_script:
- docker-compose -p designsystem --project-directory . -f docker-compose.yml -f compose/test.yml -f compose/robot.yml build
jobs:
include:
- stage: jest
script: docker-compose -p designsystem --project-directory . -f compose/test.yml run jest
- stage: lint
script: docker-compose -p designsystem --project-directory . -f compose/test.yml run lint
- stage: audit
script: docker-compose -p designsystem --project-directory . -f compose/test.yml run audit
- stage: robot
script: bin/robot.sh