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

Continuous Integration #10

Closed
Jnchi opened this issue Nov 27, 2018 · 3 comments
Closed

Continuous Integration #10

Jnchi opened this issue Nov 27, 2018 · 3 comments
Assignees
Milestone

Comments

@Jnchi
Copy link
Contributor

Jnchi commented Nov 27, 2018

Build Status

*Requires administrator privileges on the repository to enable.

.travis.yml

language: c

compiler:
  - clang
  - gcc

before_install:
  - sudo add-apt-repository ppa:ben-collins/libjwt
  - sudo apt-get update

script: autoreconf --install && ./configure && make

sudo: false

addons:
  apt:
    packages:
        - libjwt-dev
        - libpam0g-dev
        - libssl-dev

Travis CI - Building a C Project

Depends on: #11

@Jnchi Jnchi added this to the 0.0.1 milestone Nov 30, 2018
Jnchi added a commit that referenced this issue Nov 30, 2018
@Jnchi Jnchi self-assigned this Nov 30, 2018
Jnchi added a commit that referenced this issue Nov 30, 2018
Jnchi added a commit that referenced this issue Nov 30, 2018
@Jnchi
Copy link
Contributor Author

Jnchi commented Nov 30, 2018

W: http://ppa.launchpad.net/couchdb/stable/ubuntu/dists/trusty/Release.gpg: Signature by key 15866BAFD9BCC4F3C1E0DFC7D69548E1C17EAB57 uses weak digest algorithm (SHA1)
The command "sudo -E apt-get -yq --no-install-suggests --no-install-recommends $(travis_apt_get_options) install libjwt-dev libpam0g-dev libssl-dev" failed and exited with 100 during .

Taken from: c-dev Fix typo in travis-ci config

See also: travis-ci/travis-ci#7998

@Jnchi
Copy link
Contributor Author

Jnchi commented Nov 30, 2018

services:
  - docker

@Jnchi
Copy link
Contributor Author

Jnchi commented Nov 30, 2018

FROM ubuntu:18.04

WORKDIR /usr/src/cyberninjas/pam_aad
COPY . /usr/src/cyberninjas/pam_aad

RUN apt update && apt upgrade && \
    apt install -y automake autolibjwt-dev build-essential libpam0g-dev libssl-dev libtool 

Jnchi added a commit that referenced this issue Nov 30, 2018
Jnchi added a commit that referenced this issue Nov 30, 2018
Jnchi added a commit that referenced this issue Nov 30, 2018
@Jnchi Jnchi closed this as completed Nov 30, 2018
Jnchi added a commit that referenced this issue Nov 30, 2018
Jnchi added a commit that referenced this issue Dec 3, 2018
Jnchi added a commit that referenced this issue Dec 3, 2018
Jnchi added a commit that referenced this issue Dec 3, 2018
Jnchi added a commit that referenced this issue Dec 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant