Skip to content

Commit

Permalink
travis fix
Browse files Browse the repository at this point in the history
  • Loading branch information
melsman committed Apr 7, 2020
1 parent 169ec04 commit 5974709
Showing 1 changed file with 15 additions and 20 deletions.
35 changes: 15 additions & 20 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,29 @@
language: c

dist: xenial

os:
- linux
- osx

- linux
- osx
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then rm -f /usr/local/include/c++ ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install mlkit ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq update ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y mlton make ; fi

- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then rm -f /usr/local/include/c++ ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install mlkit ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq update ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y mlton make ;
fi
install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then make clean all bin_dist ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then MLCOMP=mlton make clean all bin_dist ; fi

- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then make clean all bin_dist ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then MLCOMP=mlton make clean all bin_dist
; fi
script:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then make test ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then MLCOMP=mlton make test ; fi

- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then make test ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then MLCOMP=mlton make test ; fi
deploy:
provider: releases
api_key:
secure: e33a62d591a6e3582935f37d502e83a091a1fbae
secure: JZhcDZnR5gnmWUtWHOaxLuzR+YARs1MEjKsEuvTmqgaqXe5SylicPEDXgZD9MJAmPgkOVa3r3e6t+Ni7dt1rjiSw8FoTpvP3fAg+CQsPHOYta1/SW229H25PW73qWxZjx/VfCPry2Rwe7NbKUVLjYDdvTbSYSNcSwtADxYti5Dy2cQa+Gzm219yMCV88UlsFiPWAIMGr6Mq9hYWVGM7srQk+Vc6aOmq0iKvRleJkiFNTy83LfLwb/ym/3mS4otle8VDGy4zMbj38b2E0/JIOHnFcMIV/X1Y06EKEAhvG1Yj9fUYZeGXZ+2yN7Sriw1t5lqTreBTWAeVDLiHDDTPRf9SwHLuQVzUp+/RO7GWg+psxbg1yPnB3QOwApir6fLHv2R7bQBu9aBtpya86gvBBtSGgyDrAW12btqgXFOW2nkBAmd7daU8gjePwhkDN/7SxvrVpReVtQHH7Of18x3Svjw2hnGrOlFjNycpLLavijk5MGMDE8iECr2meFDl39Bf/d8bG/zn5BNV9BDNsefoenPN0BuYqHEjNVJYu2tH1IKHwCURjc7kHz1eAI9YgeWEPr6wPJMfQna8RMVYFasDV6uER7yCMDqvECwS4XtbXTeMKKWZInBF4z9rSfdo+m6g4CwYl6joa11Ys7gNd0g3nA7zE+x65cn/X31djd6kqEEw=
file_glob: true
file: smlpkg-bin-dist-*.tgz
skip_cleanup: true
on:
repo: diku-dk/smlpkg
tags: true
branch: master
branch: master

0 comments on commit 5974709

Please sign in to comment.