mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-04 17:24:06 +03:00
first go at running on Travis
This commit is contained in:
parent
1b22ee6f43
commit
084d726e7e
27
.travis.yml
27
.travis.yml
@ -1,32 +1,13 @@
|
||||
sudo: false
|
||||
|
||||
language: node_js
|
||||
node_js:
|
||||
- "10"
|
||||
language: nix
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- /nix
|
||||
- node_modules
|
||||
- sysconfcpus
|
||||
- ~/.elm
|
||||
|
||||
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
|
||||
|
||||
install:
|
||||
- travis_retry $TRAVIS_BUILD_DIR/sysconfcpus/bin/sysconfcpus -n 2 make -B setup
|
||||
- nix-shell
|
||||
|
||||
script:
|
||||
- $TRAVIS_BUILD_DIR/sysconfcpus/bin/sysconfcpus -n 2 make ci
|
||||
|
||||
notifications:
|
||||
email: false
|
||||
- nix-shell --pure --run 'shake ci'
|
||||
|
Loading…
Reference in New Issue
Block a user