Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Travis #871

Closed
wants to merge 2 commits into from
Closed

Travis #871

wants to merge 2 commits into from

Conversation

pSub
Copy link
Member

@pSub pSub commented Apr 3, 2016

This pull requests takes up the work for @fkz on the travis job discussed in #775. After a bit of testing it turned out, that everything works as expected if we use the standard virtual environment.

@pSub
Copy link
Member Author

pSub commented Apr 3, 2016

You can find example logs here https://travis-ci.org/pSub/nix/branches. Look at the builds for the master branch. The first uses the standard environment, the second the trusty environment.

@edolstra
Copy link
Member

Hm, what do we need this for, given that we're already building Nix in Hydra?

@copumpkin
Copy link
Member

It can build and run tests on PRs in this repo, which Hydra can't (yet?) do

@Ericson2314
Copy link
Member

Yeah this seems like a good idea as a stop gap until hydra-github integration is working (I think @shlevy is pretty close).

@pSub
Copy link
Member Author

pSub commented Apr 21, 2016

Anything that prevents this from being merged? This could test PRs until hydra-github integration is ready.

@domenkozar
Copy link
Member

I think it would be better to run as many of the tests/build attributes in http://hydra.nixos.org/eval/1275169#tabs-still-fail

@langston-barrett
Copy link
Contributor

@copumpkin @domenkozar Anything blocking this?

@domenkozar
Copy link
Member

We should build Nix from this source, not fetch the stable version. For starters, but really we should run the tests as Hydra does it.

@langston-barrett
Copy link
Contributor

@domenkozar I'm happy to make a new PR. How does Hydra do it? Can you link me to those tests?

@domenkozar
Copy link
Member

@siddharthist basically run https://github.com/NixOS/nix/blob/master/release.nix

@matthewbauer
Copy link
Member

matthewbauer commented Jul 22, 2016

Does Travis actually succeed in building Nix? I'm always getting weird errors on builds:

g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [mk/patterns.mk:2: src/libexpr/eval.o] Error 4
make: *** Waiting for unfinished jobs....
build time elapsed:  0m0.104s 0m0.038s 2m26.154s 0m33.986s
builder for ‘/nix/store/vzqs399phx74y85l3yxnqhcl68xjphm6-nix-1.12pre1234_abcdef.drv’ failed with exit code 2

https://travis-ci.org/matthewbauer/nix/jobs/146402147

@domenkozar domenkozar mentioned this pull request Dec 11, 2016
@zimbatm
Copy link
Member

zimbatm commented Mar 4, 2017

#1152 replaces this PR by using the now builtin Travis Nix integration

@pSub pSub closed this Mar 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

9 participants