Skip to content
This repository has been archived by the owner on Feb 28, 2018. It is now read-only.

Commit

Permalink
Remove Elm tests (old/broken version)
Browse files Browse the repository at this point in the history
  • Loading branch information
cuducos committed Oct 14, 2017

Verified

This commit was signed with the committer’s verified signature.
cuducos Eduardo Cuducos
1 parent ae8fc0d commit 5f47f66
Showing 4 changed files with 2 additions and 69 deletions.
18 changes: 0 additions & 18 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -5,10 +5,6 @@ language: python
python:
- 3.5

cache:
directories:
- sysconfcpus

addons:
postgresql: "9.6"

@@ -19,31 +15,17 @@ env:
- DATABASE_URL="postgres://postgres@localhost/jarbas"

before_install:
- |
if [ ! -d sysconfcpus/bin ];
then
git clone https://github.com/obmarg/libsysconfcpus.git;
cd libsysconfcpus;
./configure --prefix=$TRAVIS_BUILD_DIR/sysconfcpus;
make && make install;
cd ..;
fi
- nvm install 6
- nvm use 6
- python -m pip install -U pip

install:
- psql -U postgres -c 'create database "jarbas";'
- npm install
- python -m pip install -r requirements-dev.txt coveralls

before_script:
- $TRAVIS_BUILD_DIR/sysconfcpus/bin/sysconfcpus -n 2 npm run assets
- python manage.py migrate
- python manage.py collectstatic --no-input

script:
- $TRAVIS_BUILD_DIR/sysconfcpus/bin/sysconfcpus -n 2 npm test
- coverage run manage.py test -v 3

after_success:
4 changes: 1 addition & 3 deletions elm-package.json
Original file line number Diff line number Diff line change
@@ -12,15 +12,13 @@
"MichaelCombs28/elm-mdl": "1.0.1 <= v < 2.0.0",
"NoRedInk/elm-decode-pipeline": "3.0.0 <= v < 4.0.0",
"cuducos/elm-format-number": "2.0.0 <= v < 3.0.0",
"elm-community/elm-test": "3.1.0 <= v < 4.0.0",
"elm-community/json-extra": "2.1.0 <= v < 3.0.0",
"elm-community/list-extra": "5.0.1 <= v < 6.0.0",
"elm-lang/core": "5.0.0 <= v < 6.0.0",
"elm-lang/html": "2.0.0 <= v < 3.0.0",
"elm-lang/http": "1.0.0 <= v < 2.0.0",
"elm-lang/navigation": "2.0.1 <= v < 3.0.0",
"rluiten/elm-date-extra": "8.2.0 <= v < 9.0.0",
"rtfeldman/node-test-runner": "3.0.0 <= v < 4.0.0"
"rluiten/elm-date-extra": "8.2.0 <= v < 9.0.0"
},
"elm-version": "0.18.0 <= v < 0.19.0"
}
42 changes: 0 additions & 42 deletions jarbas/frontend/tests/elm-doc-test.json

This file was deleted.

7 changes: 1 addition & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -7,15 +7,10 @@
"scripts": {
"postinstall": "elm-package install --yes",
"assets": "gulp elm",
"watch": "gulp watch",
"pretest": "sed 's/\\/jarbas\\/frontend/./g' elm-package.json > jarbas/frontend/tests/elm-package.json && cd jarbas/frontend/ && elm-doc-test",
"test": "elm-test jarbas/frontend/tests/Doc/Main.elm",
"posttest": "rm jarbas/frontend/tests/elm-package.json"
"watch": "gulp watch"
},
"dependencies": {
"elm": "^0.18",
"elm-doc-test": "^2.1.1",
"elm-test": "^0.18.2",
"gulp": "^3.9.1",
"gulp-cli": "^1.2.2",
"gulp-elm": "^0.7.2",

0 comments on commit 5f47f66

Please sign in to comment.