浏览代码

chore: Excluded docker branch from Travis build

NGPixel 8 年之前
父节点
当前提交
f2bcc378d5
共有 2 个文件被更改,包括 4 次插入3 次删除
  1. 3 0
      .travis.yml
  2. 1 3
      client/js/pages/history.js

+ 3 - 0
.travis.yml

@@ -1,6 +1,9 @@
 language: node_js
 node_js:
 - '7'
+branches:
+  except:
+    - docker
 addons:
   apt:
     sources:

+ 1 - 3
client/js/pages/history.js

@@ -4,8 +4,6 @@ import $ from 'jquery'
 
 module.exports = (alerts) => {
   if ($('#page-type-history').length) {
-    let currentBasePath = ($('#page-type-history').data('entrypath') !== 'home') ? $('#page-type-history').data('entrypath') : ''
-
-
+    // let currentBasePath = ($('#page-type-history').data('entrypath') !== 'home') ? $('#page-type-history').data('entrypath') : ''
   }
 }