Purge travis stuff

pull/387/merge
connor rigby 2017-12-13 11:38:49 -08:00
parent 81db7b2b89
commit 3bbd52c67c
6 changed files with 2 additions and 67 deletions

1
.gitignore vendored
View File

@ -35,7 +35,6 @@ node_modules
# Various env vars.
.env
travis_env
scripts/mqtt.py
# Fwup keys aren't stored here, but just in case.

View File

@ -1,54 +0,0 @@
language: erlang
otp_release:
- 20.0
sudo: required
dist: trusty
addons:
apt:
sources:
- llvm-toolchain-precise
- ubuntu-toolchain-r-test
packages:
- squashfs-tools
- libmnl-dev
- g++
- libssl-dev
- libncurses5-dev
- bc
- m4
- make
- unzip
- cmake
- python
- libudev-dev
env:
global:
- ELIXIR_VERSION=1.5.0 ERLANG_VERSION=20.0 FWUP_VERSION=0.17.0 MIX_ENV=test
before_install:
- openssl aes-256-cbc -K $encrypted_a344ae763d55_key -iv $encrypted_a344ae763d55_iv
-in travis_env.enc -out travis_env -d
- wget https://github.com/elixir-lang/elixir/releases/download/v$ELIXIR_VERSION/Precompiled.zip
- wget https://github.com/fhunleth/fwup/releases/download/v0.17.0/fwup_0.17.0_amd64.deb
- sudo dpkg -i fwup_0.17.0_amd64.deb
- unzip -d elixir Precompiled.zip
before_script:
- export PATH=`pwd`/elixir/bin:$PATH
script:
- sudo apt-get install -qq linux-headers-`uname -r`
- if [ "$CXX" = "g++" ]; then export CXX="g++-5" CC="gcc-5"; fi
- if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.7" CC="clang-3.7"; fi
- mix local.hex --force
- mix local.rebar --force
- mix archive.install https://github.com/nerves-project/archives/raw/master/nerves_bootstrap.ez --force
- MIX_ENV=test mix deps.get
- mix credo --strict --ignore Credo.Check.Readability.MaxLineLength
- mix coveralls.travis --seed 0 --exclude farmbot_firmware
after_script:
- export MIX_ENV=dev
- export MIX_TARGET=rpi3
- mix deps.get
- mix firmware
- mix firmware.slack --channels C58DCU4A3 $TRAVIS_COMMIT_MESSAGE; echo "done."
notifications:
slack:
secure: Y2jTU5Bs/TU0SQn4lMMdVohU57KfyBj2SEr9d+pNWXm1wcIecUrKrEo4fhNPrzsE7nWtrTQXroSWk1N7cioa9MO2WFbnuNEXJ3jm8uhFueCO9VGyGIxuTP7eISAduAVdjfWfVtYOf87vmiSe7yRn3XJtbGnCRB6EqyxKbnZzJJs=

View File

@ -1,9 +1,6 @@
use Mix.Config
cond do
System.get_env("TRAVIS_COMMIT_MESSAGE") ->
Mix.shell.info [:green, "Using travis config."]
import_config("auth_secret_ci.exs")
System.get_env("CIRCLECI") ->
Mix.shell.info [:green, "Using circle ci config."]
import_config("auth_secret_ci.exs")

View File

@ -76,14 +76,7 @@ else
[]
end
travis_file = "travis_env"
travis_keys = if File.exists?(travis_file) do
File.read!(travis_file) |> String.split(",")
else
[]
end
config :nerves_firmware_ssh, authorized_keys: local_key ++ travis_keys
config :nerves_firmware_ssh, authorized_keys: local_key
config :bootloader,
init: [:nerves_runtime, :nerves_init_gadget],

View File

@ -48,7 +48,7 @@ defmodule Farmbot.Mixfile do
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test,
"coveralls.travis": :test
"coveralls.circle": :test
],
source_url: "https://github.com/Farmbot/farmbot_os",
homepage_url: "http://farmbot.io",

Binary file not shown.