Giter VIP home page Giter VIP logo

hyperterm-hardware's People

Contributors

mikeanthonywild avatar

Watchers

 avatar  avatar  avatar

hyperterm-hardware's Issues

Investigate why Travis builds started failing

Nightlies started failing on build #118:

Err:18 http://archive.ubuntu.com/ubuntu zesty/universe Sources
  404  Not Found [IP: 91.189.88.149 80]
Ign:19 http://archive.ubuntu.com/ubuntu zesty/universe amd64 Packages
Ign:20 http://archive.ubuntu.com/ubuntu zesty/main amd64 Packages
Ign:21 http://archive.ubuntu.com/ubuntu zesty/restricted amd64 Packages
Ign:22 http://archive.ubuntu.com/ubuntu zesty/universe all Packages
Ign:23 http://archive.ubuntu.com/ubuntu zesty/multiverse amd64 Packages
Ign:24 http://archive.ubuntu.com/ubuntu zesty/multiverse all Packages
Ign:25 http://archive.ubuntu.com/ubuntu zesty/restricted all Packages
Ign:26 http://archive.ubuntu.com/ubuntu zesty/main all Packages
Err:27 http://archive.ubuntu.com/ubuntu zesty-updates/universe Sources
  404  Not Found [IP: 91.189.88.149 80]
Ign:28 http://archive.ubuntu.com/ubuntu zesty-updates/multiverse all Packages
Ign:29 http://archive.ubuntu.com/ubuntu zesty-updates/universe amd64 Packages
Ign:30 http://archive.ubuntu.com/ubuntu zesty-updates/restricted all Packages
Ign:31 http://archive.ubuntu.com/ubuntu zesty-updates/main all Packages
Ign:32 http://archive.ubuntu.com/ubuntu zesty-updates/multiverse amd64 Packages
Ign:33 http://archive.ubuntu.com/ubuntu zesty-updates/main amd64 Packages
Ign:34 http://archive.ubuntu.com/ubuntu zesty-updates/universe all Packages
Ign:35 http://archive.ubuntu.com/ubuntu zesty-updates/restricted amd64 Packages
Ign:36 http://archive.ubuntu.com/ubuntu zesty-backports/main all Packages
Ign:37 http://archive.ubuntu.com/ubuntu zesty-backports/universe all Packages
Err:38 http://archive.ubuntu.com/ubuntu zesty-backports/main amd64 Packages
  404  Not Found [IP: 91.189.88.149 80]
Ign:39 http://archive.ubuntu.com/ubuntu zesty-backports/multiverse all Packages
Ign:40 http://archive.ubuntu.com/ubuntu zesty-backports/restricted all Packages
Ign:41 http://archive.ubuntu.com/ubuntu zesty-backports/universe amd64 Packages
Ign:42 http://archive.ubuntu.com/ubuntu zesty-backports/restricted amd64 Packages
Ign:43 http://archive.ubuntu.com/ubuntu zesty-backports/multiverse amd64 Packages
Reading package lists...
�[91mW: The repository 'http://security.ubuntu.com/ubuntu zesty-security Release' does not have a Release file.
W: The repository 'http://archive.ubuntu.com/ubuntu zesty Release' does not have a Release file.
W: The repository 'http://archive.ubuntu.com/ubuntu zesty-updates Release' does not have a Release file.
W: The repository 'http://archive.ubuntu.com/ubuntu zesty-backports Release' does not have a Release file.
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/zesty-security/universe/source/Sources  404  Not Found [IP: 91.189.91.26 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/zesty/universe/source/Sources  404  Not Found [IP: 91.189.88.149 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/zesty-updates/universe/source/Sources  404  Not Found [IP: 91.189.88.149 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/zesty-backports/main/binary-amd64/Packages  404  Not Found [IP: 91.189.88.149 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
�[0mThe command '/bin/sh -c apt-get update -y &&     apt-get install -y software-properties-common &&     add-apt-repository ppa:mikewild/ngspice-shared' returned a non-zero code: 100
make: *** [buildenv] Error 100

travis_time:end:0447af9e:start=1520293268278595990,finish=1520293299752045037,duration=31473449047
�[0K
�[31;1mThe command "make ci-test" exited with 2.�[0m

Done. Your build exited with 1.

Possibly related to #16?

Use pre-built Docker image

The build time can be significantly reduced if we pull a pre-built image from Docker Hub. make shell should pull an image from Docker Hub by default.

PRs should use a pre-built image, however when Travis builds master we should re-build the image first and push it to Docker Hub.

All of this should be transparent as it is all abstracted by the Makefile.

  • Set up Docker Hub repository
  • Modify Makefile to pull image from Docker Hub
  • Modify travis.yml to push new image when commit is made to master
  • Update documentation

Ubuntu 17.04 is EOL

We should upgrade to Ubuntu 17.10.

Will probably need to re-pin all dependencies.

Pre-requisites:

  • Build ngspice-shared for Ubuntu 17.10 - #21

Get development environment set up

Lay the foundations for the development environment.

  • Project skeleton
  • Test framework
  • Makefile
  • Documentation
  • Linting
  • .github directory

Package ngspice with shared lib

The version of ngspice in the Ubuntu repos doesn't ship with the ngspice shared library (required for PySpice). Currently the Dockerfile downloads ngspice and builds from source, which adds a bunch of time to the build process.

We should create a PPA and package ngspice up with the shared library to speed up build time.

$DISPLAY not being set properly on macOS

Currently we grep the output of ps to discover the display used by XQuartz, but XQuartz doesn't seem to be automatically started until part way through the Makefile.

  1. Determine what starts XQuartz
  2. Ensure $DISPLAY variable is set correctly

This manifests as $DISPLAY missing the screen number e.g. 10.0.1.8 instead of 10.0.1.8:0.

Document Travis build process

We should have thorough documentation about what Travis doing to build projects. Contributors should then be able to understand what testing they need to do locally to avoid any nasty surprises when their build doesn't work on Travis.

Installing KiCad from PPA times-out build

For some reason installing KiCad from PPA takes a very long time and ends up timing-out the build on Travis.

As a temporary workaround the PPA is disabled and we install from the official Ubuntu repos, but this isn't ideal as we miss out on the bleeding-edge features. Two options are getting Docker caching working (we should do this anyway), and installing from source.

Add pyc files to gitignore

A .pyc file from a sim made its way into the repo. Delete it and add an entry to .gitignore to prevent any other .pyc files being added.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.