From 0841057d4fcf01c012da55f3ac425ec0a2e69194 Mon Sep 17 00:00:00 2001 From: Muhammad Lukman Low Date: Thu, 27 Jul 2017 13:49:55 +0800 Subject: [PATCH] upgrading to elixir 1.4.x --- .travis.yml | 2 +- mix.exs | 2 +- test/radpath_test.exs | 5 ++--- test/test_helper.exs | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index a6ddfd7..0f3d55d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,7 @@ language: elixir env: - MIX_ENV=test elixir: - - 1.3.3 + - 1.4.2 otp_release: - 17.5 - 18.0 diff --git a/mix.exs b/mix.exs index 21a71bd..794c9bb 100644 --- a/mix.exs +++ b/mix.exs @@ -7,7 +7,7 @@ defmodule Radpath.Mixfile do def project do [ app: :radpath, version: @version, - elixir: "~> 1.3.0 or ~> 1.0.2 or ~> 1.1.0", + elixir: "~> 1.4.0 or ~> 1.3.0 or ~> 1.0.2 or ~> 1.1.0", description: description, docs: [source_ref: "v#{@version}", main: "Radpath"], package: package, diff --git a/test/radpath_test.exs b/test/radpath_test.exs index 30bfe3e..03b283e 100644 --- a/test/radpath_test.exs +++ b/test/radpath_test.exs @@ -385,10 +385,9 @@ defmodule RadpathTests.RadpathFacts do use ExUnit.Case import Radpath, only: [md5sum: 1, sha1sum: 1, parent_path: 1] test "Test md5sum: md5sum function" do - [h | _]= :os.cmd('md5sum mix.exs') - |> to_string + [h | _]= :os.cmd('md5sum LICENSE') |> String.split - assert md5sum("mix.exs") == h + assert md5sum("LICENSE") == h end test "Test sha1sumsha1sum function" do [h | _]= :os.cmd('sha1sum mix.exs') diff --git a/test/test_helper.exs b/test/test_helper.exs index e79fa0c..7052d07 100644 --- a/test/test_helper.exs +++ b/test/test_helper.exs @@ -7,5 +7,5 @@ defmodule PathHelpers do Path.expand("fixtures", __DIR__) end end -ExUnit.start +# ExUnit.start # Amrita.start(formatters: [Amrita.Formatter.Documentation])