This repository has been archived by the owner on Jan 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
30 lines (30 loc) · 1.45 KB
/
.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
language: node_js
node_js:
- 6
sudo: required
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install:
- $CXX --version
- npm i -g npm@4
- sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
- echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' |
sudo tee /etc/apt/sources.list.d/mongodb.list
- sudo apt-get update
- sudo apt-get install mongodb-org-server
- git clone https://github.com/HabitRPG/habitica.git ../habitica
- until nc -z localhost 27017; do echo Waiting for MongoDB; sleep 1; done
- cd ../habitica && cp config.json.example config.json && npm install && cd -
env:
global:
- CXX=g++-4.8
notifications:
email:
on_success: change
on_failure: always
slack:
secure: cJf/QtAXyM14n0yESdEWh3OxU5JZfD5vLjxzbOn3uQIV2aXYtB5H66qUl1Vr3vMRwGEctP8+GU84zPLNrxXvQdSzYVU+Kco0TBzfOnYr7fngm5lFhcoK4PQF30O4P4NKSiq/6t8K9vAQA+41kzzLQnibcgbW6ttwSrY+Uss/Ys8F2OCv5eVfoz0Zr+5IWqU8XoHbhB3exKyT9r3QKl9+907WH56ququ848ZTDVJXBy2z0ML09R8rL5F+YCWuXebS4XqIiTD1Wy38zIF+efnLI81Kb8tQWLrZD/oniwLUTwZrtnK1jMvKqcB+wyek10vxww8yXamtwT9LTjHmZRIRwKaSRkQkeKUWtB5yR0cfD0mCeSEeM846sZC7E/qHOv5zKPqnm3UQNOdjgyzWvJFIDNQZVa/UllpjTrBIHG7d1vT5VSGor6VdExUijAdmU810idfMEa4Ed7NefOCgVV9L9aJ0XJFI2BZRAo9gE52WfYfC4bJdd0EP86F1N2XnCYT2ZqkkCbtHQ8Cljpe+I8zpIWyvsATWwLFMsN7AThVO7EjhZ/Uk8bW4G2qdalBwC8cTi73swzdrqoWyc+Uj9Dm4hl47cfMLbCXHpzcHbCzgLm8Bl87nNwd+sub7Hrp8oYwdtUOCMsIeDx0or6fhOOba91UGVTn91t6gDiPV6aSwEZg=