2018-03-27 17:13:23 +03:00
|
|
|
sudo: false
|
|
|
|
|
2018-03-28 05:16:50 +03:00
|
|
|
language: node_js
|
|
|
|
node_js:
|
|
|
|
- node # latest stable
|
|
|
|
|
2018-03-27 17:13:23 +03:00
|
|
|
cache:
|
|
|
|
directories:
|
2018-03-28 06:23:32 +03:00
|
|
|
- node_modules
|
2018-03-28 06:28:16 +03:00
|
|
|
- elm-stuff
|
|
|
|
- tests/elm-stuff
|
|
|
|
- styleguide-app/elm-stuff
|
2018-03-27 17:13:23 +03:00
|
|
|
- sysconfcpus
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
- echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
|
|
|
|
- | # epic build time improvement - see https://github.com/elm-lang/elm-compiler/issues/1473#issuecomment-245704142
|
|
|
|
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
|
2018-03-28 00:58:12 +03:00
|
|
|
|
2018-03-27 17:13:23 +03:00
|
|
|
install:
|
2018-03-28 06:23:32 +03:00
|
|
|
- travis_retry $TRAVIS_BUILD_DIR/sysconfcpus/bin/sysconfcpus -n 2 make -B setup
|
2018-03-27 17:13:23 +03:00
|
|
|
|
|
|
|
script:
|
2018-03-28 06:03:45 +03:00
|
|
|
- $TRAVIS_BUILD_DIR/sysconfcpus/bin/sysconfcpus -n 2 make ci
|
2018-03-28 01:13:34 +03:00
|
|
|
|
|
|
|
notifications:
|
2018-03-28 20:56:09 +03:00
|
|
|
email: false
|