GithubHelp home page GithubHelp logo

jonlawlor / travis-oracle Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cbandy/travis-oracle

0.0 2.0 0.0 116 KB

Scripts to install Oracle Database Express Edition on Travis CI

License: ISC License

Ruby 40.26% JavaScript 23.74% Shell 36.00%

travis-oracle's Introduction

Build

Use Oracle Database Express Edition in your builds on Travis CI.

Usage

To use this tool, you must have an Oracle account with which you have accepted the current license agreement for Oracle Database Express Edition.

  1. Add your Oracle username and password to your build environment variables, either as hidden repository settings or secure variables:

    Variable Name Value
    ORACLE_LOGIN_ssousername your username
    ORACLE_LOGIN_password your password
  2. Add the version information to your build environment variables:

    - ORACLE_URL=https://edelivery.oracle.com/akam/otn/linux/oracle11g/xe/
    - ORACLE_FILE=oracle-xe-11.2.0-1.0.x86_64.rpm.zip
    - ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe
    - ORACLE_SID=XE
    - ORACLE_CLIENT_URL=https://edelivery.oracle.com/akam/otn/linux/instantclient/121020/
    - ORACLE_CLIENT_FILES=oracle-instantclient12.1-basic-12.1.0.2.0-1.x86_64.rpm:oracle-instantclient12.1-devel-12.1.0.2.0-1.x86_64.rpm:oracle-instantclient12.1-sqlplus-12.1.0.2.0-1.x86_64.rpm
  3. Download and extract the latest release into your project. For example,

    wget 'https://github.com/cbandy/travis-oracle/archive/v1.1.0.tar.gz'
    mkdir -p .travis/oracle
    tar --extract --gzip --strip-components 1 --directory .travis/oracle --file v1.1.0.tar.gz
  4. Enable sudo:

    sudo: required
  5. Finally, execute the extracted scripts as part of your build, usually during before_install:

    - .travis/oracle/download.sh
    - .travis/oracle/install.sh

SQL*Plus is installed to $ORACLE_HOME/bin/sqlplus, and the current user has both normal and DBA access without a password, i.e. / and / AS SYSDBA.

travis-oracle's People

Contributors

cbandy avatar jonlawlor avatar

Watchers

 avatar  avatar

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.