forked from privacyidea/privacyidea
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
38 lines (34 loc) · 1.64 KB
/
circle.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
machine:
environment:
USE_SYSTEM_NUNIT_CONSOLE: 1
dependencies:
pre:
- sudo apt-get update; sudo apt-get install python-sphinx python-all
- git submodule init
- git submodule update
# - sudo add-apt-repository -y ppa:privacyidea/privacyidea
# - sudo apt-get update
test:
override:
- make builddeb-nosign
# - sudo dpkg -i DEBUILD/privacyidea-apache*.deb
# - sudo apt-get -f install
#deployment:
# staging:
# branch: master
# commands:
# - "[[ ! -s \"$(git rev-parse --git-dir)/shallow\" ]] || git fetch --unshallow"
# - git push [email protected]:privacyidea-test.git $CIRCLE_SHA1:refs/heads/master
# - heroku pg:reset DATABASE_URL --confirm privacyidea-test
# - heroku run python ./pi-manage createdb --app privacyidea-test
# - heroku run --app privacyidea-test -- python ./pi-manage admin add -p 'Test1234!' admin
# # Create default resolver
# - heroku run --app privacyidea-test -- python ./pi-manage resolver create resolver1 passwdresolver /app/deploy/heroku/default-resolver
# # Create default realm
# - heroku run --app privacyidea-test -- python ./pi-manage realm create default resolver1
# # Create local realm
# - curl https://api.ghostinspector.com/v1/tests/556aadbe8607b44136a074eb/execute/?apiKey=7e4c446eb2fb14cb8db9d96bb9a3ad09245994c0
# # User Token enroll
# - curl https://api.ghostinspector.com/v1/tests/556abe5c02ab10dc4b06882f/execute/?apiKey=7e4c446eb2fb14cb8db9d96bb9a3ad09245994c0
# # login with OTP at Web UI
# - curl https://api.ghostinspector.com/v1/tests/5610681c7d9e5b2c0df9eda6/execute/?apiKey=7e4c446eb2fb14cb8db9d96bb9a3ad09245994c0