Skip to content

Commit

Permalink
.travis.yml file without OSX (Linux only) but with elm-format dwyl/le…
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonic committed Jan 3, 2018
1 parent adfa150 commit 5f0de12
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ sudo: false # don't need root access on Travis-CI (builds faster without sudo!)
language: node_js # elm is installed from npm (see install below)
node_js: node # use "latest" version of Node.js

os: # test on *both* Linux and OSX to ensure compatibility
- linux # defaults to Ubuntu Linux
- osx # if your project does not *need* OSX compatibility, remove this line.

env:
- ELM_VERSION=0.18.0 ELM_TEST=0.18.12

Expand All @@ -20,10 +16,7 @@ cache:
- $HOME/.npm # https://stackoverflow.com/a/42523517/1148249

before_install:
- uname -a # print the *exact* operating system/kernel version
- if [ ${TRAVIS_OS_NAME} == "osx" ];
then brew update; brew install nvm; mkdir ~/.nvm; export NVM_DIR=~/.nvm; source $(brew --prefix nvm)/nvm.sh;
fi
- uname -a # print the *exact* operating system/kernel version
- | # build time improvement see: https://git.io/vQcqz
if [ ! -d sysconfcpus/bin ];
then
Expand All @@ -41,8 +34,6 @@ install: # install specific versions of elm & elm-test
- printf "#\041/bin/bash\n\necho \"Running elm-make with sysconfcpus -n 2\"\n\n$TRAVIS_BUILD_DIR/sysconfcpus/bin/sysconfcpus -n 2 elm-make-old \"\$@\"" > $(npm config get prefix)/bin/elm-make
- chmod +x $(npm config get prefix)/bin/elm-make
- travis_retry elm package install --yes # install main project dependencies
- pwd


script:
- elm-format --validate PhotoGroove.elm # lint / format-check main file
Expand Down

0 comments on commit 5f0de12

Please sign in to comment.