Commit 0575574 1 parent 9e4835f commit 0575574 Copy full SHA for 0575574
File tree 3 files changed +17
-13
lines changed
3 files changed +17
-13
lines changed Original file line number Diff line number Diff line change 1
1
.git
2
2
.idea
3
- Dockerfile
3
+ Dockerfile
4
+ .travis.yml
Original file line number Diff line number Diff line change 1
- language : python # this works for Linux but is an error on macOS or Windows
1
+ language : python
2
+
2
3
matrix :
3
4
include :
4
5
- name : " Python 3.7.1 on Xenial Linux"
@@ -7,16 +8,16 @@ matrix:
7
8
os : osx
8
9
osx_image : xcode11 # Python 3.7.4 running on macOS 10.14.4
9
10
language : shell # 'language: python' is an error on Travis CI macOS
10
- - name : " Python 3.7.4 on Windows"
11
- os : windows # Windows 10.0.17134 N/A Build 17134
12
- language : shell # 'language: python' is an error on Travis CI Windows
13
- before_install :
14
- - choco install python
15
- - python -m pip install --upgrade pip
16
- env : PATH=/c/Python37:/c/Python37/Scripts:$PATH
11
+
17
12
install :
18
- - pip3 install --upgrade pip # all three OSes agree about 'pip3'
13
+ - pip3 install --upgrade pip # all OSes agree about 'pip3'
19
14
- pip install -r requirements.txt
15
+
20
16
# 'python' points to Python 2.7 on macOS but points to Python 3.7 on Linux and Windows
21
- # 'python3' is a 'command not found' error on Windows but 'py' works on Windows only
22
- script : python3 website.py || python website.py
17
+ script : python3 website.py
18
+
19
+ deploy :
20
+ provider : heroku
21
+ api_key :
22
+ secure : ff4d4762-ed92-4ac4-833f-7f75e44b875e
23
+ app : identity-hub
Original file line number Diff line number Diff line change 71
71
* https://github.com/cs-ufm/linkmybio
72
72
* https://cssgradient.io
73
73
* https://www.youtube.com/watch?v=10SwsoYNkVc&t=1157s
74
- * https://devcenter.heroku.com/articles/container-registry-and-runtime
74
+ * https://devcenter.heroku.com/articles/container-registry-and-runtime
75
+ * https://testdriven.io/blog/deploying-flask-to-heroku-with-docker-and-gitlab/
76
+ * image on docker hub: https://cloud.docker.com/repository/docker/armi/identity-hub
You can’t perform that action at this time.
0 commit comments