Browse Source

[AppVeyor] do not fail the build even if package_src fails
still investigating why it fails...

Andy Li 9 years ago
parent
commit
00a0eee859
2 changed files with 2 additions and 1 deletions
  1. 1 0
      Makefile
  2. 1 1
      appveyor.yml

+ 1 - 0
Makefile

@@ -190,6 +190,7 @@ version.$(MODULE_EXT):
 # Package
 
 package_src:
+	git status
 	mkdir -p $(PACKAGE_OUT_DIR)
 	# use git-archive-all since we have submodules
 	# https://github.com/Kentzo/git-archive-all

+ 1 - 1
appveyor.yml

@@ -51,7 +51,7 @@ install:
 build_script:
     - 'cd %APPVEYOR_BUILD_FOLDER%'
     - 'set PATH=%PATH%;%APPVEYOR_BUILD_FOLDER%'
-    - '%CYG_ROOT%/bin/bash -lc "cd \"$OLDPWD\" && make -s -f Makefile.win package_src"'
+    - '%CYG_ROOT%/bin/bash -lc "cd \"$OLDPWD\" && make -s -f Makefile.win package_src || echo package_src failed"'
     - '%CYG_ROOT%/bin/bash -lc "cd \"$OLDPWD\" && make -s -f Makefile.win"'
     - '%CYG_ROOT%/bin/bash -lc "cd \"$OLDPWD\" && make -s -f Makefile.win tools"'
     - '%CYG_ROOT%/bin/bash -lc "cd \"$OLDPWD\" && make -s -f Makefile.win package_bin"'