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

Set up travis #36

Closed
3 tasks done
kgugala opened this issue Aug 27, 2019 · 5 comments · Fixed by #42
Closed
3 tasks done

Set up travis #36

kgugala opened this issue Aug 27, 2019 · 5 comments · Fixed by #42
Assignees

Comments

@kgugala
Copy link
Member

kgugala commented Aug 27, 2019

The CI should:

  • Run all the tests
  • Check PR's (code quality etc.)
  • Push the result HTML to GH pages
@tgorochowik
Copy link
Member

tgorochowik commented Aug 28, 2019

Generating the report and checking code quality (for python scripts) should be up and running.

As mentioned in #39 - we need help of the project admins with setting up the github pages..
These need to be enabled in the repo settings and a github token variable needs to be added. (See: https://docs.travis-ci.com/user/deployment/pages/ )
CC: @mithro

@mithro
Copy link
Collaborator

mithro commented Aug 28, 2019

GH_TOKEN and GH_USER, GIT_USER and GIT_EMAIL should all be set on travis. GH_TOKEN will only appear on the master branch builds.

tgorochowik referenced this issue in antmicro/sv-tests Aug 28, 2019
Closes #36

Signed-off-by: Tomasz Gorochowik <tgorochowik@antmicro.com>
tgorochowik referenced this issue in antmicro/sv-tests Aug 28, 2019
Closes #36

Signed-off-by: Tomasz Gorochowik <tgorochowik@antmicro.com>
piotr-binkowski referenced this issue in antmicro/sv-tests Aug 30, 2019
Closes #36

Signed-off-by: Tomasz Gorochowik <tgorochowik@antmicro.com>
@tgorochowik
Copy link
Member

@mithro could you re-check the gh-pages configuration?

We used the variable you mentioned:
https://github.com/SymbiFlow/sv-tests/blob/817a83741f8c1860dd27e6062f770cc293fc8538/.travis.yml#L45

But the build fails with:

commit 817b54a3006bbd0c6188b0f72bd8a45fe39ae61f
Author: Deployment Bot (from Travis CI) <deploy@travis-ci.org>
Date:   Fri Aug 30 15:49:19 2019 +0000

    Deploy SymbiFlow/sv-tests to github.com/SymbiFlow/sv-tests.git:gh-pages

 index.thml | 59038 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 59038 insertions(+)
Couldn't push the build to github.com/SymbiFlow/sv-tests.git:gh-pages

failed to deploy

@tgorochowik tgorochowik reopened this Aug 30, 2019
@mithro
Copy link
Collaborator

mithro commented Sep 2, 2019

This looks like it is working now;
https://travis-ci.com/SymbiFlow/sv-tests/jobs/230163527

Deploying application
cd /tmp/d20190902-11568-1q1hzl8/work
Copying /home/travis/build/SymbiFlow/sv-tests/out/deploy contents to /tmp/d20190902-11568-1q1hzl8/work (workdir: /tmp/d20190902-11568-1q1hzl8/work)...
Configuring git committer to be Deployment Bot (from Travis CI) <deploy@travis-ci.org> (workdir: /tmp/d20190902-11568-1q1hzl8/work)
Preparing to deploy gh-pages branch to gh-pages (workdir: /tmp/d20190902-11568-1q1hzl8/work)
commit c9d547349a7635ec1a5d65cf67ce99bd1552a5a8
Author: Deployment Bot (from Travis CI) <deploy@travis-ci.org>
Date:   Mon Sep 2 20:08:10 2019 +0000
    Deploy SymbiFlow/sv-tests to github.com/SymbiFlow/sv-tests.git:gh-pages
 index.thml | 96238 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 96238 insertions(+)
Doing the git push (workdir: /tmp/d20190902-11568-1q1hzl8/work)...
On branch gh-pages
Your branch is ahead of 'origin/gh-pages' by 1 commit.
  (use "git push" to publish your local commits)
nothing to commit, working tree clean
cd -
App has been pushed
Done. Your build exited with 0.

https://github.com/SymbiFlow/sv-tests/tree/gh-pages

GitHub
Test suite designed to check compliance with the SystemVerilog standard. - SymbiFlow/sv-tests

@mithro
Copy link
Collaborator

mithro commented Sep 2, 2019

Looks like this is working with my addition of the .nojekyll file. See https://symbiflow.github.io/sv-tests/

@mithro mithro closed this as completed Sep 3, 2019
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 a pull request may close this issue.

3 participants