[Workflow] Build on push event (#1861)
authorWonYoung Choi <wy80.choi@samsung.com>
Fri, 24 Jul 2020 10:42:45 +0000 (19:42 +0900)
committerGitHub <noreply@github.com>
Fri, 24 Jul 2020 10:42:45 +0000 (19:42 +0900)
* [Workflow] Build on push event

* Delete travis CI file

.github/workflows/build.yaml [moved from .github/workflows/pull_request.yaml with 80% similarity]
.travis.yml [deleted file]

similarity index 80%
rename from .github/workflows/pull_request.yaml
rename to .github/workflows/build.yaml
index bef0a2d..32d7abb 100644 (file)
@@ -1,4 +1,4 @@
-name: Pull Request
+name: Build Test
 
 on:
   pull_request:
@@ -6,6 +6,16 @@ on:
     - master
     - API*
 
+  push:
+    branches:
+    - master
+    - API*
+    paths:
+    - 'build/**'
+    - 'internals/**'
+    - 'src/**'
+    - 'tools/**'
+
 jobs:
   build:
     runs-on: ubuntu-latest
@@ -23,7 +33,6 @@ jobs:
         token: ${{ secrets.GITHUB_TOKEN }}
 
     - name: Build
-      id: build
       uses: TizenAPI/tizenfx-build-actions/problem-filter@v1
       with:
         run: ./build.sh full /p:BuildWithAnalyzer=True
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644 (file)
index 2785300..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-language: csharp
-mono: none
-dotnet : 2.1.502
-script:
-  - ./build.sh full
-  - ./build.sh dummy