forked from formio/formio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
23 lines (21 loc) · 804 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
machine:
node:
version: 8
services:
- mongodb
dependencies:
pre:
- sudo /etc/init.d/mongodb stop && wget http://downloads.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1204-3.4.13.tgz && tar xvzf mongodb-linux-x86_64-ubuntu1204-3.4.13.tgz
- sudo cp mongodb-linux-x86_64-ubuntu1204-3.4.13/bin/* /usr/bin
- sudo /etc/init.d/mongodb start
- sudo apt-get install -y gcc-4.9 g++-4.9
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.6 10
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.6 10
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 20
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.9 20
test:
pre:
- node --version
- mongo --version
override:
- npm test