forked from openedx-unsupported/edx-analytics-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
38 lines (38 loc) · 866 Bytes
/
.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
language:
- python
- node_js
python: "2.7"
node_js: "5.2.0"
sudo: false
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
addons:
apt:
packages:
- language-pack-en
install:
- make develop
- make migrate
- ./scripts/install_analytics_data_api.sh
- pip install coveralls
script:
- make static_no_compress
- make validate
- make generate_fake_translations
- make accept
- make a11y
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