datasets / s-and-p-500-companies

List of companies in the S&P 500 together with associated financials
https://datahub.io/core/s-and-p-500-companies
499 stars 491 forks source link

[scripts] Rework travis automation so we can run again #25

Closed rufuspollock closed 1 year ago

rufuspollock commented 6 years ago

We want to rework travis automation so we can run again

Acceptance criteria

Tasks

Analysis

After trying to run a script, there are a bunch of libraries are outdated. For example, datapackage-py, goodtables-py and so on. And test script on scripts/test_data.py is not working. I suggest to remove this test script or to write something else.

For the DataHub part we can add this snipped which runs only on deploy part

language: node_js
node_js:
- '8'
install:
- npm install -g git+https://github.com/datahq/datahub-cli.git
script: data push ./ --published
env:
  global:
    id: core
    username: core
  TRAVIS_SECURE_ENV_VARS: true

Using travis configuration, we can add token env.variable

rufuspollock commented 1 year ago

INVALID (Obsolete).