Namdak Tonpa 6 лет назад
Родитель
Сommit
2ad83ec3a7
2 измененных файлов с 14 добавлено и 9 удалено
  1. 8 4
      .travis.yml
  2. 6 5
      rebar.config

+ 8 - 4
.travis.yml

@@ -1,10 +1,14 @@
 language: erlang
 otp_release:
-  - 21.0
+  - 19.3
+  - 20.3.8
 notifications:
   email:
     - maxim@synrc.com
     - doxtop@synrc.com
-  irc: "chat.freenode.net#n2o"
-install: "rebar get-deps compile"
-script: "rebar compile"
+script:
+  - "curl -fsSL https://raw.github.com/synrc/mad/master/mad > mad"
+  - "chmod +x mad"
+  - "./mad dep com"
+  - "rm -rf deps"
+  - "rebar get-deps clean compile"

+ 6 - 5
rebar.config

@@ -1,11 +1,12 @@
 {lib_dirs, ["deps",".."]}.
+{erl_opts,[nowarn_deprecated_function,nowarn_export_all]}.
 {deps_dir, ["deps"]}.
 {deps, [
-    {nitro,         ".*", {git, "git://github.com/synrc/nitro",             {tag,"3.10"}}},
-    {n2o,           ".*", {git, "git://github.com/synrc/n2o",               {tag,"5.10"}}},
-    {kvs,           ".*", {git, "git://github.com/synrc/kvs",               {tag,"3.9.1"}}},
-    {erlydtl,       ".*", {git, "git://github.com/evanmiller/erlydtl.git",  {tag,"0.8.0"}}},
-    {oauth,         ".*", {git, "git://github.com/tim/erlang-oauth",        {tag, "v1.6.0"}}}
+    {nitro,         ".*", {git, "git://github.com/synrc/nitro",      []}},
+    {n2o,           ".*", {git, "git://github.com/synrc/n2o",        []}},
+    {kvs,           ".*", {git, "git://github.com/synrc/kvs",        []}},
+    {erlydtl,       ".*", {git, "git://github.com/voxoz/erlydtl",    []}},
+    {oauth,         ".*", {git, "git://github.com/tim/erlang-oauth", {tag, "v1.6.0"}}}
 ]}.
 {erlydtl_opts, [
     {doc_root,   "priv"},