-
Notifications
You must be signed in to change notification settings - Fork 68
Expand file tree
/
Copy path.travis.yml
More file actions
29 lines (29 loc) · 945 Bytes
/
.travis.yml
File metadata and controls
29 lines (29 loc) · 945 Bytes
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
sudo: false
language: erlang
otp_release:
- 20.0
env:
- TRAVIS_NODE_VERSION="8"
install:
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION
- npm install -g yarn
- yarn
before_script:
- wget https://repo.hex.pm/builds/elixir/v1.5.0-rc.2-otp-20.zip
- unzip -d elixir v1.5.0-rc.2-otp-20.zip
- export PATH=$(pwd)/elixir/bin:${PATH}
- mix local.rebar --force
- mix local.hex --force
- mix deps.get
script:
- yarn build
- mix test
- yarn test
- yarn test-app
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/fbd8944d285c0696dc41
on_success: always # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always