Browse Source

create travis.yml

AykutSarac 3 years ago
parent
commit
b38fc1a942
1 changed files with 19 additions and 0 deletions
  1. 19 0
      .travis.yml

+ 19 - 0
.travis.yml

@@ -0,0 +1,19 @@
+language: node_js
+node_js:
+  - "14"
+cache:
+directories:
+  - node_modules
+  - .next
+script:
+  - npm run test
+  - npm run build
+deploy:
+  provider: pages
+  skip_cleanup: true
+  local_dir: out
+  github_token: $GITHUB_TOKEN
+  target_branch: gh-pages
+  keep_history: true
+  on:
+    branch: main