Fakultas Ilmu Komputer UI
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Fasilkom UI Open Source Software
Kape
Commits
488e675b
Commit
488e675b
authored
Mar 09, 2017
by
Zamil Majdy
Browse files
#140382397 #4 Disable test for faster testing purpose
parent
59b36676
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
488e675b
test
:
script
:
-
apt-get update -qy
-
apt-get install -y python-dev python-pip sudo postgresql postgresql-client libpq-dev
-
service postgresql start
-
sudo -u postgres psql -c "CREATE USER kape WITH PASSWORD 'kape' CREATEDB"
-
sudo -u postgres psql -c "CREATE DATABASE kape OWNER kape"
-
pip install -r requirements.txt
-
python manage.py migrate
-
python manage.py test
#
test:
#
script:
#
- apt-get update -qy
#
- apt-get install -y python-dev python-pip sudo postgresql postgresql-client libpq-dev
#
- service postgresql start
#
- sudo -u postgres psql -c "CREATE USER kape WITH PASSWORD 'kape' CREATEDB"
#
- sudo -u postgres psql -c "CREATE DATABASE kape OWNER kape"
#
- pip install -r requirements.txt
#
- python manage.py migrate
#
- python manage.py test
staging
:
type
:
deploy
script
:
-
apt-get update -qy
-
sudo
apt-get install sshpass
-
apt-get install sshpass
-
git clone https://gitlab.com/PPL2017csui/PPLA1.git
-
cd PPLA1
-
git checkout UserStory1
...
...
@@ -29,7 +29,7 @@ production:
type
:
deploy
script
:
-
apt-get update -qy
-
sudo
apt-get install sshpass
-
apt-get install sshpass
-
git clone https://gitlab.com/PPL2017csui/PPLA1.git
-
cd PPLA1
-
git checkout master
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment