<pre style='margin:0'>
Zero King (l2dy) pushed a commit to branch travis-ci
in repository macports-base.
</pre>
<p><a href="https://github.com/macports/macports-base/commit/15c064eb508ce0c9bb82c8cfb216cd36ad1895d8">https://github.com/macports/macports-base/commit/15c064eb508ce0c9bb82c8cfb216cd36ad1895d8</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 15c064eb508ce0c9bb82c8cfb216cd36ad1895d8
</span>Author: Zero King <l2dy@macports.org>
AuthorDate: Tue May 29 13:56:59 2018 +0000
<span style='display:block; white-space:pre;color:#404040;'> Enable Travis CI deployment
</span>---
.bintray.json | 26 ++++++++++++++++++++++++++
.travis.yml | 33 +++++++++++++++++++++++++++++++--
src/macports1.0/macports.tcl | 2 +-
3 files changed, 58 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/.bintray.json b/.bintray.json
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..40f59a7
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/.bintray.json
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,26 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "package": {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "name": "auto-upload",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "repo": "macports-base",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "subject": "macports-ci-bot",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "desc": "Prebuilt binaries of MacPorts base for use in MacPorts pull request CI",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "website_url": "https://www.macports.org/",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "vcs_url": "https://github.com/macports/macports-base",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "licenses": ["BSD 3-Clause"],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "public_download_numbers": false,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "public_stats": false
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ },
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "version": {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "name": "2.99.99",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "desc": "",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "released": "2018-01-01",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "gpgSign": false
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ },
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "files":
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [{ "includePattern": "MacPorts-OS_MAJOR.tar.bz2", "uploadPattern": "MacPorts-OS_MAJOR.tar.bz2",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "matrixParams": { "override": 1 }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "publish": true
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/.travis.yml b/.travis.yml
</span><span style='display:block; white-space:pre;color:#808080;'>index 2d94f43..4fd2823 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/.travis.yml
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/.travis.yml
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,3 +1,32 @@
</span> language: c
<span style='display:block; white-space:pre;background:#ffe0e0;'>-os: osx
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-script: ./configure && make && sudo make install && make test
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+matrix:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ - os: osx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ osx_image: xcode9.3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ - os: osx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ osx_image: xcode8.3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ - os: osx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ osx_image: xcode7.3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ - os: osx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ osx_image: xcode6.4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+before_install:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- sudo mkdir /opt/local.old
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- sudo mv /usr/local/* /opt/local.old && hash -r
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+script: "./configure && make && sudo make install && make test"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+before_deploy:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- sed -i "" "s/-v selfupdate/version/" portmgr/dmg/postflight
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- sudo install portmgr/dmg/postflight /opt/local/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- sudo install src/*.tcl /opt/local/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- export OS_MAJOR=$(uname -r | cut -f 1 -d .)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- tar -cjf MacPorts-$OS_MAJOR.tar.bz2 /opt/local
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- sed -i "" "s/OS_MAJOR/$OS_MAJOR/g" .bintray.json
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- sudo mv /opt/local.old/* /usr/local && hash -r
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+deploy:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ provider: bintray
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file: ".bintray.json"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ user: l2dybot
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ skip_cleanup: true
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ on:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ branch: travis-ci
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ key:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ secure: v3hajeN5oWdwjmYkXne4KpVasMYXm09qF5GQRGBrKYbfqDwnZkgsEPQTcbIP3TxOds4onoImcNVVMdt67Z4+8Ug3G7R4Bj1XY3vCSXV14k8/BGZmVtNE/N29yoQQkX4mZfu5sQKgKFfHUtWtxmpZ3VnRcmDGUfCAP7Tkst8Qk2fQJI78j3nkJbT3a49o7oh6Tlb5bmLc51jrP+OjvYa25TWPm0ee2aYZo6C1o+Gp7jAYqDGyVebYf5vcR3qBY0bg2qQIdAMNvDnv0hAoJkO4aDnhFqwd1SmJJzihbvZEC9qTvU2+li084CHYRkG6PBqCIQtogFCzE5YTLNeaXcvIZjVyQFaGM/L4WNh2WODkC8VCuM++gI0fCVWFEIaR+jjgJ0FUJMgU5yFAUQMbbm9IhF/O2U7GTPwvv3veXz96Qt395FxD7wgTP41e8Th73I0BSO4panCVBUjZRW7rOt5nMPCjCraEtl+g [...]
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/macports1.0/macports.tcl b/src/macports1.0/macports.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index eaac98d..fa83388 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/macports1.0/macports.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/macports1.0/macports.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1343,7 +1343,7 @@ proc macports::copy_xcode_plist {target_homedir} {
</span> global macports::user_home macports::macportsuser
set user_plist "${user_home}/Library/Preferences/com.apple.dt.Xcode.plist"
set target_dir "${target_homedir}/Library/Preferences"
<span style='display:block; white-space:pre;background:#ffe0e0;'>- file delete -force "${target_dir}/com.apple.dt.Xcode.plist"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ catch { file delete -force "${target_dir}/com.apple.dt.Xcode.plist" }
</span> if {[file isfile $user_plist]} {
if {![file isdirectory $target_dir]} {
try -pass_signal {
</pre><pre style='margin:0'>
</pre>