2018-03-27 17:13:23 +03:00
|
|
|
sudo: false
|
|
|
|
|
2018-03-28 05:16:50 +03:00
|
|
|
language: node_js
|
|
|
|
node_js:
|
2019-05-03 02:37:44 +03:00
|
|
|
- "10"
|
2018-03-28 05:16:50 +03:00
|
|
|
|
2018-03-27 17:13:23 +03:00
|
|
|
cache:
|
|
|
|
directories:
|
2018-03-28 06:23:32 +03:00
|
|
|
- node_modules
|
2020-09-18 14:02:39 +03:00
|
|
|
- sysconfcpus
|
2020-09-18 13:55:55 +03:00
|
|
|
- ~/.elm
|
2018-03-27 17:13:23 +03:00
|
|
|
|
|
|
|
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:
|
2020-03-02 13:34:51 +03:00
|
|
|
- travis_retry $TRAVIS_BUILD_DIR/sysconfcpus/bin/sysconfcpus -n 2 make -B setup
|
2018-03-27 17:13:23 +03:00
|
|
|
|
|
|
|
script:
|
2020-03-02 13:34:51 +03:00
|
|
|
- $TRAVIS_BUILD_DIR/sysconfcpus/bin/sysconfcpus -n 2 make ci
|
2018-03-28 01:13:34 +03:00
|
|
|
|
|
|
|
notifications:
|
2019-05-03 02:37:44 +03:00
|
|
|
email: false
|