forked from project-sunbird/sunbird-devops
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
49 lines (44 loc) · 1.19 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
sudo: required
dist: trusty
language: python
python: "2.7"
addons:
ssh_known_hosts:
- 13.232.188.44
- 13.127.235.204
notifications:
email:
recipients:
- rajeev.sathish1982@gmail.com
- rajeev.sathish@tarento.com
on_success: always
on_failure: always
env:
- ANSIBLE_VERSION=latest
# - ANSIBLE_VERSION=2.4.1.0
# - ANSIBLE_VERSION=2.3.1.0
before_install:
- sudo apt-get update -qq
# - chmod +x deploy/sunbird_install.sh
install:
# - if [ "$ANSIBLE_VERSION" = "latest" ]; then pip install ansible; fi #else pip install ansible==$ANSIBLE_VERSION; fi
# - if [ "$ANSIBLE_VERSION" = "latest" ]; then pip install ansible-lint; fi
- pip install pyyaml
before_script:
- python createConfigYml.py
- bash stage0.sh
script:
- bash install.sh
# - echo $(readlink -f ciTestKey.pem)
# - chmod 0400 /home/travis/build/rajeevsathish/sunbird-devops/deploy/ciTestKey.pem
# - bash sunbird_install.sh
# - bash sunbird_install.sh -s dbs
# - bash sunbird_install.sh -s apis
# - bash sunbird_install.sh -s proxy
# - bash sunbird_install.sh -s keycloak
# - bash sunbird_install.sh -s badger
# - bash sunbird_install.sh -s core
# - ./test.sh
after_success:
after_failure: