forked from openedx-unsupported/edx-analytics-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
35 lines (35 loc) · 943 Bytes
/
.travis.yml
File metadata and controls
35 lines (35 loc) · 943 Bytes
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
language: python
python: "2.7"
before_install:
- export PATH=./node_modules/.bin:$PATH
- sudo apt-get update -qq
- sudo apt-get install -y npm
- sudo apt-get --reinstall install -qq language-pack-en
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
install:
- make test.acceptance
- pip install coveralls
script:
- make static -e DJANGO_SETTINGS_MODULE="analytics_dashboard.settings.test"
- make validate
- make generate_fake_translations
- make accept
- make a11y
branches:
only:
- master
after_success:
- coveralls
- bash ./scripts/build-stats-to-datadog.sh
deploy:
- provider: s3
access_key_id: $S3_ACCESS_KEY_ID
secret_access_key: $S3_SECRET_ACCESS_KEY
bucket: $S3_BUCKET
skip_cleanup: true
local_dir: $TRAVIS_BUILD_DIR/build-metrics
upload_dir: edx-analytics-dashboard/master
acl: public_read
on:
branch: master