Installing of the goimports tool in the Travis CI configuration.
Change Log
- installing of the goimports tool in the Travis CI configuration.
Features
- saving of a code to a temporary file:
- storing of the temporary file with the code to an individual temporary directory;
- checking of package imports used in the code written in the Go programming language:
- checking based on the set of allowed imports;
- compiling of a code written in the Go programming language:
- automatic importing of the packages used in the code (optionally);
- checking of package imports used in the code (optionally):
- checking based on the set of allowed imports;
- enriching of an error of the external command running by an output from the stderr stream;
- support for the running time management (via the Go context);
- running of the compiled code (i.e. the executable file):
- passing of a custom input as the stdin stream;
- returning of an output from the stdout stream;
- enriching of an error of the external command running by an output from the stderr stream;
- support for the running time management (via the Go context);
- running of a test case set for the compiled code (i.e. the executable file):
- representation of a test case:
- input;
- expected output;
- checking of an actual output in each test case:
- returning of the sentinel errors:
- failed running — it returns on a running error;
- unexpected output — it returns when the expected and actual outputs do not match;
- returning of the sentinel errors:
- support for the running time management (via the Go context).
- representation of a test case: