From 974da0184e48f9c393d4ac5974d692f2fe8751cb Mon Sep 17 00:00:00 2001
From: Wei-Ning Huang <w@dexon.org>
Date: Thu, 24 Jan 2019 13:56:00 +0800
Subject: ci: move smoke-test to PR test

---
 .travis.yml | 34 +++++++++++++++++-----------------
 1 file changed, 17 insertions(+), 17 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 66d15cfac..0aeea8330 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -64,6 +64,23 @@ matrix:
       script:
         - go run build/ci.go lint
 
+    - os: osx
+      go: 1.11.x
+      env:
+        - smoke-test
+      git:
+        submodules: false
+      script:
+        - PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig make all
+        - cd test
+        - ./run_test.sh --ignore-log
+        - cd ..
+        - ./build/fullnode-test.sh
+      addons:
+        homebrew:
+          packages:
+            - ethereum
+
     # This builder does the Ubuntu PPA upload
     #- if: type = push
     #  os: linux
@@ -235,23 +252,6 @@ matrix:
         submodules: false
       script:
         - go run build/ci.go purge -store dexon-builds -days 14
-    - if: type = push
-      os: osx
-      go: 1.11.x
-      env:
-        - smoke-test
-      git:
-        submodules: false
-      script:
-        - PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig make all
-        - cd test
-        - ./run_test.sh --ignore-log
-        - cd ..
-        - ./build/fullnode-test.sh
-      addons:
-        homebrew:
-          packages:
-            - ethereum
 before_install:
   - openssl aes-256-cbc -K $encrypted_556a2b2ff7f6_key -iv $encrypted_556a2b2ff7f6_iv
     -in .ci/DEXON-7548b3622930.json.enc -out ./DEXON-7548b3622930.json -d
-- 
cgit v1.2.3