Travis CI: Setup dist tarball uploading to GitHub on tag creation
authorIvan Maidanski <ivmai@mail.ru>
Mon, 15 May 2017 09:33:03 +0000 (12:33 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 16 May 2017 09:32:13 +0000 (12:32 +0300)
(Cherry-pick commit bc143bb from 'release-7_4' branch.)

.travis.yml

index d153e66..f5043ca 100644 (file)
@@ -30,3 +30,15 @@ install:
 script:
 - ./configure
 - make -j $MAKEFILE_TARGET
+
+deploy:
+  provider: releases
+  api_key:
+    secure: wDAkRwV0lFrzLqdMhrnzD+fVZDODB32q2riJKXKZ3eC70VdliJzX59G60iJqIdN6YSSGGjpDTcaKTmim/T1zgAW+UIcXvpveX3jtocmsJJemZyFKAT++hHbeakNr4Mhgs0ddv3+JsgX375KOmL+ZkUzW0+5uIf9CXK80kE5v6E6p5LC6+Jg8Tqj2uSmUDfrYCFdIDQ901vAjxdPbFsFL8STy0ahBhUCrTThi9emAMR2vBwxf+0We58la936hMFmXs320ZtYN4fksuxNMgQu/3HL/UZIINT2IXgstWiNoU3yK6Z5IvOKWw0iPLMg7SS6L4WYJTu4Z26YnIlJ8XM3f7hO+c+jdffup59O1oklCl6JwlbqNFWtZhfJ+TW8fX8rpsvZIovBI4oOsZthpMNcvb3ZZ6UczUbhaInCvcYl5aTw/8K63Vh2HhKTFdMYMLn1X+qNIfXyKRL15C8VZOHB3Os14G03FNPlTqFE4IRnU3TyXTKBIwYOXf5Nb7fmOYZ11lHejco3rE0n3MiqIL0QJAAwExozV6Af/aJefyTWqfycgaGEfUzBQQpcMVlrDJg1I+LU7vExYYYYYoVPCKHn3CDsmdftUpJcPeKMHuasrfp54RBnY+B9s+hJQRtA7C70JbtoJpC+nxfwIzprBkdLudD+mI52zgFmU7JC1UeWDBik=
+  file: libatomic_ops-*.tar.gz
+  file_glob: true
+  skip_cleanup: true
+  on:
+    condition: $MAKEFILE_TARGET = distcheck
+    repo: ivmai/libatomic_ops
+    tags: true