From 77f841131466a345eae323924883191d80eb8c0e Mon Sep 17 00:00:00 2001 From: Piyush Mishra Date: Sun, 21 Feb 2021 12:58:43 +0530 Subject: [PATCH] heroku try again --- .travis.yml | 8 ++++++++ Procfile | 2 ++ app.json | 11 +++++++++++ 3 files changed, 21 insertions(+) create mode 100644 .travis.yml create mode 100644 Procfile create mode 100644 app.json diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..1f44e22 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,8 @@ +language: rust +sudo: required +rust: +- stable +script: +- | + cargo build && + cargo test diff --git a/Procfile b/Procfile new file mode 100644 index 0000000..fffa560 --- /dev/null +++ b/Procfile @@ -0,0 +1,2 @@ +web: ./target/release/lupt -s ./static -a 0.0.0.0:$PORT + diff --git a/app.json b/app.json new file mode 100644 index 0000000..c93f3cd --- /dev/null +++ b/app.json @@ -0,0 +1,11 @@ +{ + "name": "Lupt", + "description": "Chat app to talk in group or to strangers", + "repository": "https://gitlab.com/PiyushXCoder/lupt", + "success_url": "/", + "keywords": ["rust", "actix"], + "website": "https://gitlab.com/PiyushXCoder/lupt", + "env": { + "BUILDPACK_URL": "https://gitlab.com/PiyushXCoder/lupt.git" + } + }