瀏覽代碼

cloudfront is not needed for dev endpoint build

thelamer 5 年之前
父節點
當前提交
ef6ec6babe
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 2 2
      .travis.yml
  2. 1 1
      script/pre_install

+ 2 - 2
.travis.yml

@@ -13,8 +13,6 @@ jobs:
   include:
     - stage: development
       if: branch = development AND tag IS blank AND type != pull_request
-      before_install:
-        - ./script/pre_install
       script:
         - ./script/build_release dev
       after_failure:
@@ -40,6 +38,8 @@ jobs:
         - echo test
     - stage: release
       if: branch = master AND type != pull_request
+      before_install:
+        - ./script/pre_install
       script:
         - echo test
       deploy:

+ 1 - 1
script/pre_install

@@ -2,4 +2,4 @@
 
 # Install aws cli
 
-pip install awscli tornado
+pip install --user awscli tornado