|
| 1 | +## Customize the test machine |
| 2 | +machine: |
| 3 | + environment: |
| 4 | + COVERALLS_REPO_TOKEN: BIJEGOKsEvdhmwdLlC2QMSp1k9tbjwBYk |
| 5 | + DATABASE_URL: postgres://ubuntu:@127.0.0.1:5432/circle_test |
| 6 | + DJANGO_SETTINGS_MODULE: django_and_angular.settings |
| 7 | + LEVEL: development |
| 8 | + |
| 9 | + timezone: |
| 10 | + Russia/Moscow # Set the timezone |
| 11 | + |
| 12 | + # Version of ruby to use |
| 13 | + python: |
| 14 | + version: |
| 15 | + 2.7.11 |
| 16 | + |
| 17 | +test: |
| 18 | + override: |
| 19 | + - TEST_ARGS=--with-xunit make lint test |
| 20 | + |
| 21 | + post: |
| 22 | + - coveralls |
| 23 | + - mkdir -p $CIRCLE_TEST_REPORTS/junit/ |
| 24 | + - "[ -r nosetests.xml ] && mv nosetests.xml $CIRCLE_TEST_REPORTS/junit/ || :" |
| 25 | + |
| 26 | +# # Override /etc/hosts |
| 27 | +# hosts: |
| 28 | +# circlehost: 127.0.0.1 |
| 29 | +# dev.mycompany.com: 127.0.0.1 |
| 30 | + |
| 31 | +# # Add some environment variables |
| 32 | +# environment: |
| 33 | +# CIRCLE_ENV: test |
| 34 | +# DATABASE_URL: postgres://ubuntu:@127.0.0.1:5432/circle_test |
| 35 | + |
| 36 | +### Customize checkout |
| 37 | +#checkout: |
| 38 | +# post: |
| 39 | +# - git submodule sync |
| 40 | +# - git submodule update --init # use submodules |
| 41 | + |
| 42 | +## Customize dependencies |
| 43 | +#dependencies: |
| 44 | +# pre: |
| 45 | +# - npm install coffeescript # install from a different package manager |
| 46 | +# - gem uninstall bundler # use a custom version of bundler |
| 47 | +# - gem install bundler --pre |
| 48 | + |
| 49 | +# override: |
| 50 | +# - bundle install: # note ':' here |
| 51 | +# timeout: 180 # fail if command has no output for 3 minutes |
| 52 | + |
| 53 | + # we automatically cache and restore many dependencies between |
| 54 | + # builds. If you need to, you can add custom paths to cache: |
| 55 | +# cache_directories: |
| 56 | +# - "custom_1" # relative to the build directory |
| 57 | +# - "~/custom_2" # relative to the user's home directory |
| 58 | + |
| 59 | +## Customize database setup |
| 60 | +#database: |
| 61 | +# override: |
| 62 | +# # replace CircleCI's generated database.yml |
| 63 | +# - cp config/database.yml.ci config/database.yml |
| 64 | +# - bundle exec rake db:create db:schema:load |
| 65 | + |
| 66 | +## Customize test commands |
| 67 | +#test: |
| 68 | +# override: |
| 69 | +# - phpunit test/unit-tests # use PHPunit for testing |
| 70 | +# post: |
| 71 | +# - bundle exec rake jasmine:ci: # add an extra test type |
| 72 | +# environment: |
| 73 | +# RAILS_ENV: test |
| 74 | +# RACK_ENV: test |
| 75 | + |
| 76 | +## Customize deployment commands |
| 77 | +#deployment: |
| 78 | +# staging: |
| 79 | +# branch: master |
| 80 | +# heroku: |
| 81 | +# appname: foo-bar-123 |
| 82 | + |
| 83 | +## Custom notifications |
| 84 | +#notify: |
| 85 | +# webhooks: |
| 86 | +# # A list of hashes representing hooks. Only the url field is supported. |
| 87 | +# - url: https://someurl.com/hooks/circle |
0 commit comments