farmbot_os/.travis.yml

24 lines
704 B
YAML
Raw Normal View History

2017-02-01 09:39:32 -07:00
language: bash
2016-12-08 14:11:57 -07:00
2017-02-01 09:43:11 -07:00
sudo: required
2016-12-08 14:11:57 -07:00
dist: trusty
env:
2017-02-01 09:39:32 -07:00
global:
- ELIXIR_VERSION=1.4.0 ERLANG_VERSION=19.0
2016-12-08 14:11:57 -07:00
before_install:
2017-02-01 09:39:32 -07:00
- wget https://packages.erlang-solutions.com/erlang/esl-erlang/FLAVOUR_1_general/esl-erlang_$ERLANG_VERSION-1~ubuntu~trusty_amd64.deb;
- sudo dpkg -i esl-erlang_$ERLANG_VERSION-1~ubuntu~trusty_amd64.deb;
- wget https://github.com/elixir-lang/elixir/releases/download/v$ELIXIR_VERSION/Precompiled.zip
- unzip -d elixir Precompiled.zip
2016-12-08 14:11:57 -07:00
before_script:
- export PATH=`pwd`/elixir/bin:$PATH
script:
- mix local.hex --force
- mix local.rebar --force
2017-02-01 09:39:32 -07:00
- mix archive.install https://github.com/nerves-project/archives/raw/master/nerves_bootstrap.ez --force
- make test