forked from mrhardikjoshi/cody
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
38 lines (38 loc) · 833 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: ruby
dist: trusty
cache:
- bundler
- yarn
rvm:
- 2.6.4
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH="$HOME/.yarn/bin:$PATH"
- gem install bundler -v '1.17.2'
before_script:
- ln -s /usr/lib/chromium-browser/chromedriver ~/bin/chromedriver
script:
- script/ci
after_script:
- if [ "$SUITE" = "yarn" ]; then bin/yarn codecov; fi
env:
matrix:
- SUITE=rspec
- SUITE=yarn
- SUITE=browser
global:
- CODY_GITHUB_ACCESS_TOKEN=abc123
- CODY_JWT_SECRET_KEY=fake
- CODY_GITHUB_REPO=aergonaut/testrepo
- CODY_HOST=cody.example
- CODY_ATTR_ENCRYPTED_KEY="eTJIFMy/H5/FL2HXllaCyZ5XcY6FsC0itYVN7ZbNxv0="
branches:
only:
- master
addons:
postgresql: "9.4"
chrome: stable
apt:
update: true
packages:
- chromium-chromedriver