-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
33 lines (28 loc) · 993 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
sudo: false
language: node_js
node_js:
- node # latest stable
cache:
directories:
- sysconfcpus
install:
# Travis exposes a few more CPUs (like... 14 more) than the code can actually
# use. This program allows us to lie to the compiler about how many CPUs it
# can use. In this case, we're actually telling the truth about the number of
# usable CPUs, so build times go way down.
- |
if [ ! -d sysconfcpus/bin ];
then
git clone https://github.com/obmarg/libsysconfcpus.git;
cd libsysconfcpus;
./configure --prefix=$TRAVIS_BUILD_DIR/sysconfcpus;
make && make install;
cd ..;
fi
- make node_modules
script:
- $TRAVIS_BUILD_DIR/sysconfcpus/bin/sysconfcpus -n 2 make check-formatting
- $TRAVIS_BUILD_DIR/sysconfcpus/bin/sysconfcpus -n 2 make documentation.json
- $TRAVIS_BUILD_DIR/sysconfcpus/bin/sysconfcpus -n 2 make test
- $TRAVIS_BUILD_DIR/sysconfcpus/bin/sysconfcpus -n 2 make examples/Example.elm.html
- make flow