Просмотр исходного кода

Add 'make autopatch' to fix the building error of travis CI

Feng Lee 8 лет назад
Родитель
Сommit
b5f741391b
2 измененных файлов с 6 добавлено и 5 удалено
  1. 2 4
      .travis.yml
  2. 4 1
      Makefile

+ 2 - 4
.travis.yml

@@ -1,12 +1,10 @@
 language: erlang
 
 otp_release:
-   - 19.0
-   - 19.1
-   - 19.2
+   - 20.0
 
 before_script:
-  - make deps
+  - make autopatch
 
 script: 
   - make

+ 4 - 1
Makefile

@@ -15,7 +15,7 @@ dep_pbkdf2       = git https://github.com/emqtt/pbkdf2 2.0.1
 dep_lager_syslog = git https://github.com/basho/lager_syslog
 dep_bcrypt       = git https://github.com/smarkets/erlang-bcrypt master
 dep_clique       = git https://github.com/emqtt/clique
-dep_jsx           = git https://github.com/talentdeficit/jsx
+dep_jsx          = git https://github.com/talentdeficit/jsx
 
 ERLC_OPTS += +debug_info
 ERLC_OPTS += +'{parse_transform, lager_transform}'
@@ -49,6 +49,9 @@ DIALYZER_OPTS := --verbose --statistics -Werror_handling \
 
 include erlang.mk
 
+autopatch::
+	$(call dep_autopatch,goldrush)
+
 app:: rebar.config
 
 app.config::