typelevel / scalacheck

Property-based testing for Scala
http://www.scalacheck.org
BSD 3-Clause "New" or "Revised" License
1.94k stars 407 forks source link

CI failing (scala-native) #412

Closed lrytz closed 6 years ago

lrytz commented 6 years ago

https://travis-ci.org/rickynils/scalacheck/builds

+sudo apt-get install libgc-dev libunwind8-dev
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package libunwind8-dev
The command "curl https://raw.githubusercontent.com/scala-native/scala-native/master/scripts/travis_setup.sh | bash -x" failed and exited with 100 during .
lrytz commented 6 years ago

cc @densh

densh commented 6 years ago

It seems that tavis recently changed how things are installed in sudo environments. Please add:

sudo: required
addons:
  apt:
    update: true

To your .travis.yml. As discovered by @olafurpg.

densh commented 6 years ago

UPDATE: make sure you have sudo: required in there as well.

lrytz commented 6 years ago

This works, thanks! Part of https://github.com/rickynils/scalacheck/pull/411.