From 2a3fc869b2d5700280b5dbf0414b39da711e15bf Mon Sep 17 00:00:00 2001
From: Xiangrong Hao <falood@gmail.com>
Date: Tue, 25 Jul 2017 17:31:39 -0700
Subject: [PATCH] add elixir 1.3 and 1.4 support back (#33)

* support elixir 1.3 and 1.4

* update elixir version requirement

* can not support elixir 1.3 via erlang 20
---
 .travis.yml | 21 +++++++++++++++++++++
 mix.exs     |  5 ++---
 2 files changed, 23 insertions(+), 3 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 54740f8..e2abfe2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,10 +1,31 @@
 language: elixir
 matrix:
   include:
+    - os: linux
+      sudo: required
+      otp_release: 19.3
+      elixir: 1.3.4
+
+    - os: linux
+      sudo: required
+      otp_release: 19.3
+      elixir: 1.4.5
+
+    - os: linux
+      sudo: required
+      otp_release: 20.0
+      elixir: 1.4.5
+
+    - os: linux
+      sudo: required
+      otp_release: 19.3
+      elixir: 1.5.0
+
     - os: linux
       sudo: required
       otp_release: 20.0
       elixir: 1.5.0
+
 notifications:
   recipients:
     - self@falood.me
diff --git a/mix.exs b/mix.exs
index a86d8f2..f039e2c 100644
--- a/mix.exs
+++ b/mix.exs
@@ -4,8 +4,7 @@ defmodule FileSystem.Mixfile do
   def project do
     [ app: :file_system,
       version: "0.1.1",
-      elixir: "~> 1.5",
-      compilers: [:elixir, :app],
+      elixir: "~> 1.3",
       deps: deps(),
       description: "A file system change watcher wrapper based on [fs](https://github.com/synrc/fs)",
       source_url: "https://github.com/falood/file_system",
@@ -19,7 +18,7 @@ defmodule FileSystem.Mixfile do
 
   def application do
     [
-      extra_applications: [:logger],
+      applications: [:logger],
     ]
   end
 
-- 
GitLab