forked from instedd/active-monitoring
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
39 lines (32 loc) · 1.56 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
sudo: required
services:
- docker
env:
COMPOSE_VERSION: 1.8.0
before_install:
- curl -L https://github.com/docker/compose/releases/download/${COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
install:
- docker-compose pull
before_script:
- docker-compose build
- docker-compose run --rm -e MIX_ENV=test app mix do local.rebar --force, deps.get, deps.compile
- docker-compose run --rm webpack yarn install --no-progress
script:
- docker-compose run --rm app mix test
- docker-compose run --rm webpack yarn lint
- docker-compose run --rm webpack yarn run flow
- docker-compose run --rm webpack yarn webpack
deploy:
skip_cleanup: true
provider: script
script: ./deploy.sh
on:
all_branches: true
notifications:
slack:
on_success: change
on_failure: always
rooms:
secure: W2d0VGweG/iKkiyILaYvbeJC45rXB46gNtfN1fCpzko+vJOCW3zzdgza5NBgAoCl62y8MJP+ywAgWQ0vFKnvPl1OFkqVbw8jQhVSBmN0DppJjp/9mr5xHlvtjZeM1V32z+7f5531u7shB5dl4TShKpWwN38/Ur4ZynWb7U6zk2NVhIkWzaTk1VQbbsqVM6TfokgzjGVg7hZDjGI/xn8lWBhn/WAM1ddu0IxiBbPsImLNhMIio11W2CMtdZqD+xENFIVOTNMZcD1rtO+Rf7zWo363bWU1n34u6hbgU7E1xVbi1/XcDM7ZJgjDRnmp5hDjqz7ZzvfnYphQafa/jn0ToZn8RiSVDNkuamjNPs2EASzl0velkntRb59qmksMxl+JyJ2Q267xHPPqIGCCdWgGyHvJ0fLPpEcBdxe0bFKivALWLLI2HsCyHTxajuJTU5xj9nL+R7YX5UsO3PZA5oZ4dja421vkpcBrZ87Wui+Y8zz3oAjVboVEd6lKhhoPR1QUfoaCYzv9FBF8Yhl2iNPdpOJ28RR+nXVErCn/ePAEDTk7H1TtW22xDKbsuydDDVsQ3IY/ZGvcYHXFY6i/jPx0ZHZo+xV8vn7/oXLEibW6Y6R5abLpLFIJ2JaC9x9G+LE/tAyD/pZ63rhoz63PSBu8l0gBL1LiFf5B2QNQWSSv1y8=